Summary
Gets or sets the selected item in the drop-down.
- Namespace
- Avalonia
.Controls - Containing Type
- AutoCompleteBox
Syntax
public object SelectedItem { get; set; }
Remarks
If the IsTextCompletionEnabled property is true and text typed by
the user matches an item in the ItemsSource collection, which is
then displayed in the text box, the SelectedItem property will be
a null reference.
Value
Type | Description |
---|---|
object | The selected item in the drop-down. |