AutoCompleteBoxSelectedItem Property
Gets or sets the selected item in the drop-down.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public Object? SelectedItem { get; set; }
Public Property SelectedItem As Object
Get
Set
member SelectedItem : Object with get, set
Property Value
ObjectThe selected item in the drop-down.
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.