Summary
Gets or sets the selected items.
- Namespace
- Avalonia
.Controls .Primitives - Containing Type
- Selecting
Items Control
Syntax
protected IList? SelectedItems { get; set; }
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.
Value
Type | Description |
---|---|
IList? |