ComboBox Control Members
See Also

Suite Pro Controls ActiveX Control v24.0
ComboBox Control Members
Public Methods
| Method | Description |
|---|---|
AboutBox |
Displays a dialog box that specifies the current version of the control. |
AddItem |
Adds an item to the combobox control. |
Clear |
Clears the contents of the combobox. |
FindItem |
Finds the first item in the combobox that starts with the specified string. |
RemoveItem |
Removes an item from the combobox. |
Public Properties
| Property | Description |
|---|---|
Appearance |
Gets or sets the appearance of the control. |
AutoComplete |
Enables or disables auto completion. |
BackColor |
Gets or sets the background color of the control. |
ControlToolTip |
Gets or sets the tool tip that is displayed when the mouse cursor is positioned over this item. |
DrawFocusRect |
Gets or sets whether a focus rectangle is drawn around the items in the combo box. |
DropDownItemCount |
Gets or sets the number of items to display when the combo box is dropped down. |
DropDownWidth |
Gets or sets the width of the drop-down portion of a combo box. |
DroppedState |
Gets or sets a value indicating whether the combo box is displaying its drop-down portion. |
Enabled |
Gets or sets whether this control is enabled. |
EnableMarkup |
Allows the use of a XAML snippet to be used for the control. |
FlatStyle |
Gets or sets the "flat" appearance of the control. |
Font |
Gets/Sets the font that will be used to display the text for the control. |
ForeColor |
Gets or sets the foreground color used to display text in the control. |
hWnd |
Gets the window handle that the control is bound to. |
ItemData |
Returns or sets a specific number for each item in the combobox control. |
List |
Returns or sets the items contained in a combobox's list portion. The list is a string array in which each element is a list item. |
ListCount |
Returns the number of items in the list portion of the combobox. |
ListIndex |
Returns or sets the index of the currently selected item in the combobox. |
Locked |
Gets or sets a value that indicates whether the ComboBox can be modified at design time when the sheet is protected. |
MarkupList |
Returns or sets the items contained in a combobox's list portion stored as markup. The list is a string array in which each element is a list item stored as markup. |
MaxLength |
Gets or sets the maximum number of characters that can be entered in the combo's edit control. |
NewIndex |
Returns the index of the item most recently added to the ComboBox. |
RightToLeft |
Gets or sets a value indicating whether the control elements are aligned to support locales using right-to-left fonts. |
SelLength |
Gets or sets the number of characters selected in the editable portion of the combo box. |
SelStart |
Gets or sets the starting index of text selected in the combo box. |
SelText |
Gets or sets the text that is selected in the editable portion of the ComboBox. |
Sorted |
Gets or sets a value indicating whether the items in the combo box are sorted. |
Style |
Gets or sets a value specifying the style of the combo box. |
Text |
Gets or sets the text associated with this control. |
ToolTipContext |
Represents the tool tip window that is used to display tool tips. |
TopIndex |
Returns or sets a value that specifies which item in the combobox is displayed in the topmost position. |
UpdateBackColorOnAppearanceChange |
Gets or sets whether the background color updates on appearance change. |
UpdateForeColorOnAppearanceChange |
Gets or sets whether the foreground color updates on appearance change. |
UseVisualStyle |
Determines if the control is drawn using visual styles/SkinFramework, if supported. |
Events
| Event | Description |
|---|---|
Change |
Indicates the contents of the combobox have changed. |
Click |
Occurs when the user presses and then releases a mouse button over the combobox. It can also occur when the value of the combobox is changed. |
DblClick |
Occurs when the user double-clicks on the combobox. |
DropDown |
Occurs when the drop-down portion of the ComboBox is shown. |
KeyDown |
Occurs when the user presses a key while a control has the focus. |
KeyPress |
Occurs when the user presses and releases an ANSI key. |
KeyUp |
Occurs when the user releases a key while a control has the focus. |
ReCreated |
Occurs when the ComboBox is recreated. |
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.


