ComboBox class
이 콘텐츠는 아직 번역되지 않았습니다.
A drop-down selection control with text header and popup list.
Guide: C# Markup reference: Listbox
public sealed class ComboBox : DropDownBase, IIndexedSelectorPublic Members
Section titled “Public Members”| name | description |
|---|---|
| ComboBox() | Initializes a new instance of the ComboBox class. |
| ChangeOnWheel { get; set; } | Gets or sets whether the mouse wheel changes the selection to the previous or next item while the pointer is over the combo box. |
| ItemHeight { get; set; } | Gets or sets the height of items in the drop-down list. |
| ItemsSource { get; set; } | Gets or sets the items source. |
| ItemTemplate { get; set; } | Gets or sets the item template for the drop-down list; null uses the list’s default template. |
| Placeholder { get; set; } | Gets or sets the placeholder text shown when no item is selected. |
| SelectedIndex { get; set; } | Gets or sets the selected item index. |
| SelectedItem { get; set; } | Gets the currently selected item object. |
| SelectedItemTemplate { get; set; } | Gets or sets the template that presents the selected item in the header; null falls back to ItemTemplate, and with neither set the header draws the item text. |
| SelectedText { get; } | Gets the currently selected item text. |
| ZebraStriping { get; set; } | Gets or sets whether alternating drop-down items use a second background color (zebra striping). |
| event SelectionChanged | Occurs when the selected item changes. |
| static readonly ChangeOnWheelProperty | |
| static readonly ItemHeightProperty | Gets or sets the height of items in the drop-down list. |
| static readonly PlaceholderProperty | |
| static readonly SelectedIndexProperty | |
| static readonly SelectedItemProperty | |
| static readonly ZebraStripingProperty |
See Also
Section titled “See Also”- class DropDownBase
- interface IIndexedSelector
- namespace Aprillz.MewUI.Controls