4.116 ComboBox
x:Object > DependencyObject > Visual > UIElement > FrameworkElement > Control > ItemsControl > Selector > ComboBox, IInputElement | |
ComboBox | |
(usage) |
<ComboBox> x:Object* </ComboBox> |
(description) |
Represents a selection control with a drop-down list that can be shown or hidden by clicking the arrow on the control. |
[content property] |
Items |
[name property] |
Name |
[xml lang property] |
Language |
(properties) |
|
IsDropDownOpen |
x:Boolean |
(description) |
A value that indicates whether the drop-down for a combo box is currently open. |
IsEditable |
x:Boolean |
(description) |
A value that enables or disables editing of the text in text box of the ComboBox. |
IsReadOnly |
x:Boolean |
(description) |
A value that enables selection-only mode, in which the contents of the combo box are selectable but not editable. |
MaxDropDownHeight |
x:Double |
(description) |
The maximum height for a combo box drop-down. |
[text syntax] |
LengthSyntax |
ShouldPreserveUserEnteredPrefix (4.5) |
x:Boolean |
(description) |
A value that indicates whether the ComboBox keeps the user's input or replaces the input with a matching item. |
StaysOpenOnEdit |
x:Boolean |
(description) |
Whether a ComboBox that is open and displays a drop-down control will remain open when a user clicks the TextBox. |
Text |
x:String |
(description) |
The text of the currently selected item. |
(events) |
|
DropDownClosed |
Occurs when the drop-down list of the combo box closes. |
DropDownOpened |
Occurs when the drop-down list of the combo box opens. |