SelectingItemsControlSelectionAdapter Class

Represents the selection adapter contained in the drop-down portion of an AutoCompleteBox control.

Definition

Namespace: Avalonia.Controls.Utils
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public class SelectingItemsControlSelectionAdapter : ISelectionAdapter
Inheritance
Object    SelectingItemsControlSelectionAdapter
Implements
ISelectionAdapter

Constructors

SelectingItemsControlSelectionAdapter Initializes a new instance of the SelectingItemsControlSelectionAdapter class.
SelectingItemsControlSelectionAdapter(SelectingItemsControl) Initializes a new instance of the SelectingItemsControlSelectionAdapterr class with the specified SelectingItemsControl control.

Properties

ItemsSource Gets or sets a collection that is used to generate the content of the selection adapter.
SelectedItem Gets or sets the selected item of the selection adapter.
SelectorControl Gets or sets the underlying SelectingItemsControl control.

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
HandleKeyDown(KeyEventArgs) Provides handling for the KeyDown event that occurs when a key is pressed while the drop-down portion of the AutoCompleteBox has focus.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnCancel Raises the Cancel event.
OnCommit Raises the Commit event.
SelectedIndexDecrement Decrements the SelectedIndex property of the underlying SelectingItemsControl control.
SelectedIndexIncrement Increments the SelectedIndex property of the underlying SelectingItemsControl control.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

Cancel Occurs when a selection is canceled before it is committed.
Commit Occurs when an item is selected and is committed to the underlying SelectingItemsControl control.
SelectionChanged Occurs when the SelectedItem property value changes.

See Also