SelectedItems Property
Gets or sets the selected items.
Definition
Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
protected IList? SelectedItems { get; set; }
Protected Property SelectedItems As IList
Get
Set
member SelectedItems : IList with get, set
Property Value
IListRemarks
By default returns a collection that can be modified in order to manipulate the control selection, however this property will return null if Selection is re-assigned; you should only use either Selection or SelectedItems.
See Also
Reference
SelectingItemsControl Class
Avalonia.Controls.Primitives Namespace