The ComboBox provides the following properties:
- Drop Down Style - determines the drop down style of the combo box. Can be one of the following:
- Drop Down - the list of items is displayed by clicking the down arrow and the text portion is editable. This means that the user can enter a new value and is not limited to selecting an existing value from the list.
- Drop Down List - the list is displayed by clicking the down arrow and the text portion is not editable. This means that the user cannot enter a new value. Only values already in the list can be selected. This is the default combo box style.
- Max Drop Down Height - determines the height of the combo box’s popup window.
- Items - the items collection of the combo box.
- Selected Index - the index of the currently selected combo box item.
- Selected Item - points to the currently selected combo box item. When this property changes, the SelectedIndex property is automatically updated.