Table of Contents

Interface IComboBoxHandler

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Provides access to methods and properties of the native combobox control.

public interface IComboBoxHandler : IControlHandler, IDisposableObject, IDisposable

Properties

EmptyTextHint

Gets or sets a hint shown in an empty unfocused text control.

HasBorder

Gets or sets a value indicating whether the control has a border.

OwnerDrawStyle
TextMargins

Gets text margin. It is the empty space between borders of control and the text itself.

TextSelectionLength

Gets the number of characters selected in the editable portion of the combo box.

TextSelectionStart

Gets the starting index of text selected in the combo box.

Methods

DefaultOnDrawBackground()

Default method for the background drawing. Can be used inside paint event.

DefaultOnDrawItem()

Default method for the item drawing. Can be used inside paint event.

SelectAllText()

Selects all the text in the editable portion of the ComboBox.

SelectTextRange(int, int)

Selects a range of text in the editable portion of the ComboBox.