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)
- C#
- VB
- F#
public class SelectingItemsControlSelectionAdapter : ISelectionAdapter
Public Class SelectingItemsControlSelectionAdapter
Implements ISelectionAdapter
type SelectingItemsControlSelectionAdapter =
class
interface ISelectionAdapter
end
| 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) |
| 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
| 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. |