SelectingItemsControlSelectedItems Property

Gets or sets the selected items.

Definition

Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
protected IList? SelectedItems { get; set; }

Property Value

IList

Remarks

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