DataControlBase.UnselectAll() Method
Unselects any selected items within a grid.
Namespace: DevExpress.UI.Xaml.Grid
Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
Remarks
Multiple row/card selection isn’t allowed if the DataControlBase.NavigationStyle property is set to GridControlNavigationStyle.None and the DataControlBase.SelectionMode property is set to ‘None’.
The UnselectAll method clears the current selection (clears the DataControlBase.SelectedItems collection). To select all items, use the DataControlBase.SelectAll method. To select or unselect individual rows/cards, use the DataControlBase.SelectItem and DataControlBase.UnselectItem methods, respectively.
See Also