UpdateComboBox

A combo box that automatically updates its properties.


Constructors:

New()

Properties:

Enabled As Boolean

True if the control is enabled (read-only).

Items As System.Collections.IList

The items that are in the combo box (read-only).

SelectedIndex As Integer

The index of the currently selected item (read-only).

SelectedItem As Object

The item in the combo box that is selected (read-only).

Text As String

Text displayed in the control (read-only).


Methods:

GetError () As String

Events:

GetEnabled () As Boolean

Event fired to determine whether the control is enabled.

GetItemText (ByVal tag As Object) As String

Event fired to get the text associated with an item.

GetItems () As System.Collections.IEnumerable

Event fired to get the list of items.

GetSelectedItem () As Object

Event fired to get the selected item.

GetText () As String

Event fired to calculate the text to display.

SetSelectedItem (ByVal value As Object)

Event fired when the user selects an item.

SetText (ByVal value As String)

Event fired when the displayed text changes.