Summary
Represents the selection adapter contained in the drop-down portion of
an
AutoCompleteBox
control.
- Namespace
- Avalonia
.Controls .Utils - Interfaces
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["ISelectionAdapter"]
click Interface0 "/api/Avalonia.Controls.Utils/ISelectionAdapter"
Type["SelectingItemsControlSelectionAdapter"]
class Type type-node
Syntax
public class SelectingItemsControlSelectionAdapter : ISelectionAdapter
Constructors
Name | Summary |
---|---|
Selecting |
Initializes a new instance of the
SelectingItemsControlSelectionAdapter
class.
|
Selecting |
Initializes a new instance of the
Avalonia.Controls.Utils.SelectingItemsControlSelectionAdapterr
class with the specified
SelectingItemsControl
control.
|
Events
Name | Type | Summary |
---|---|---|
Cancel | EventHandler |
Occurs when a selection is canceled before it is committed.
|
Commit | EventHandler |
Occurs when an item is selected and is committed to the underlying
SelectingItemsControl
control.
|
SelectionChanged | EventHandler |
Occurs when the
SelectedItem
property value changes.
|
Properties
Name | Value | Summary |
---|---|---|
Items | IEnumerable |
Gets or sets a collection that is used to generate the content of
the selection adapter.
|
SelectedItem | object |
Gets or sets the selected item of the selection adapter.
|
SelectorControl | Selecting |
Gets or sets the underlying
SelectingItemsControl
control.
|
Methods
Name | Value | Summary |
---|---|---|
HandleKeyDown |
void |
Provides handling for the
KeyDown event that occurs
when a key is pressed while the drop-down portion of the
AutoCompleteBox has focus.
|
OnCancel |
void |
Raises the
Cancel
event.
|
OnCommit |
void |
Raises the
Commit
event.
|
Selected |
void |
Decrements the
SelectedIndex
property of the underlying
SelectingItemsControl
control.
|
Selected |
void |
Increments the
SelectedIndex
property of the underlying
SelectingItemsControl
control.
|