ComboBoxEditor class¶
Represents an editor that displays a dropdown with items.
Namespace: Eremex.AvaloniaUI.Controls.Editors
Assembly: Eremex.Avalonia.Controls.dll
NuGet Package: Eremex.Avalonia.Controls
Declaration¶
Public Members¶
| name | description |
|---|---|
| ComboBoxEditor() | Initializes a new instance of the ComboBoxEditor class. |
| ApplyItemTemplateToEditBox { get; set; } | Gets or sets whether the item template is applied to the edit box. |
| AutoComplete { get; set; } | Gets or sets whether the editor automatically completes typed text. |
| AutoSearchText { get; } | Gets the search text used to filter dropdown items. |
| ClearValueItemText { get; set; } | Gets or sets the text of the item that clears the editor's value. |
| DisplayMember { get; set; } | Gets or sets the name of the data field that provides the item's display text. |
| FilterCondition { get; set; } | Gets or sets the condition used to filter dropdown items by the search text. |
| ItemsSource { get; set; } | Gets or sets the collection of items displayed in the dropdown. |
| ItemTemplate { get; set; } | Gets or sets the template used to display dropdown items. |
| SelectAllItemText { get; set; } | Gets or sets the text of the Select All item. |
| SelectedItem { get; set; } | Gets or sets the item selected in the dropdown. |
| SelectedItems { get; set; } | Gets or sets the collection of items selected in the dropdown. |
| SelectionMode { get; set; } | Gets or sets whether users can select one or multiple items in the dropdown. |
| SeparatorString { get; set; } | Gets or sets the string that separates selected items in the display text. |
| ShowPredefinedSelectItem { get; set; } | Gets or sets whether predefined items are displayed in the dropdown. |
| ValueMember { get; set; } | Gets or sets the name of the data field that provides item values. |
| event FilterItem | Occurs when the editor filters a dropdown item. |
| override ResetInvalidUserInput() | |
| ScrollIntoView(…) | Scrolls the specified dropdown item into view. |
| SelectItem(…) | Selects the specified item in the dropdown. |
| UnselectItem(…) | Unselects the specified item in the dropdown. |
See Also¶
- class PopupEditor
- namespace Eremex.AvaloniaUI.Controls.Editors
Used in articles
- Application Services › IAppearanceService
- Data Editing
- Data Editing
- DataGrid › Cells
- Editors › ComboBoxEditor
- Examples › How to Prevent Opening Popups for Read-only Popup Editors
- PropertyGrid › Data Editing
- Ribbon › Ribbon Items
- Toolbars and Menus › Get Started With Toolbars
- Toolbars and Menus › Toolbar Items
- What's Included › Assemblies