-api-id | -api-type |
---|---|
P:Microsoft.UI.Xaml.Controls.ItemContainer.IsSelected |
winrt property |
Gets or sets a value that indicates whether the item is currently selected.
A value that indicates whether the item is currently selected. The default is false
.
This property sets the selection state for an individual instance of ItemContainer
. Setting this property toggles the visibility of the item container's selection visual.
This property is automatically synchronized with the selection model of the ItemsView that this container belongs to.