Style Property
Description
Gets or sets a value specifying the style of the combo box.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property Style() As [ComboBoxStyle](XtremeSuiteControls~Enumerations~ComboBoxStyle_EN.md)
Remarks
The Style property controls the interface that is presented to the user. You can enter a value that provides:
- A simple drop-down list box, where the list always displays.
- A drop-down list box, where the text portion is not editable and you must select an arrow to view the drop-down.
- The default drop-down list box, where the text portion is editable and the user must press the arrow key to view the list.
To always display a list that the user cannot edit, use a ListBox control.
Use xtpComboDropDown or xtpComboSimple to give the user a list of choices. Either style enables the user to enter a choice in the text box. Setting xtpComboDropDown saves space on the form because the list portion closes when the user selects an item.
Use xtpComboDropDownList to display a fixed list of choices from which the user can select one. The list portion closes when the user selects an item.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.