EasyLanguage Object Reference
Displays a combobox that displays a drop-down list of items.
Namespace: elsystem.windows.forms
Name | Type | Description | |
Count | int | Gets the number of items in the combobox list. | |
DropDownHeight | int | Gets or sets the height of the combobox. | |
DropDownStyle | enum | Gets or sets the style of the combobox. See ComboBoxStyle for a list of possible values. | |
DropDownWidth | int | Gets or sets the width of the combobox. | |
FlatStyle | enum | Gets or sets the flat style appearance of the combobox. See FlatStyle for a list of possible values. | |
SelectedIndex | int | Gets or sets the index of the selected combobox item. | |
SelectedText | string | Gets or sets the text that is selected in the editable portion of a combobox. | |
Sorted | bool | Sets or gets a value indicating if combobox items are sorted. |
Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).
Name | Description | |
AddItem(string) | Adds a new combobox item using the provided text string. | |
Clear | Clears the contents from the combobox. | |
Create() | Initializes a new instance of a combobox. | |
Create(text,width,height) | Initializes a new instance of a combobox. Parameters include the default Text to appear in the combo box followed the Width and Height of the control. | |
FindString(string) | Finds the index of the first item in the combo box that starts with the specified string. The search is not case sensitive. | |
FindStringExact(string) | Finds the index of the first item in the comb box that exactly matches the specified string. The search is case sensitive. | |
RemoveItem(index) | Removes an item from the combo box at the index position. |
Name | Description | |
SelectedIndexChanged |
Occurs when a combobox item is selected or changed. See EventArgs for the properties returned by the handler's args parameter. |
elsystem.windows.forms.Control
elsystem.windows.forms.ComboBox