Skip to main content

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)

public class SelectingItemsControlSelectionAdapter : ISelectionAdapter
View Source
InheritanceObject → SelectingItemsControlSelectionAdapter
ImplementsISelectionAdapter

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

ItemsSourceGets or sets a collection that is used to generate the content of the selection adapter.
SelectedItemGets or sets the selected item of the selection adapter.
SelectorControlGets or sets the underlying SelectingItemsControl control.

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets 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.
MemberwiseClone()Creates 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.
ToString()Returns a string that represents the current object.
(Inherited from Object)

Events

CancelOccurs when a selection is canceled before it is committed.
CommitOccurs when an item is selected and is committed to the underlying SelectingItemsControl control.
SelectionChangedOccurs when the SelectedItem property value changes.

See Also

Reference

Avalonia.Controls.Utils Namespace