Class GridSelectionUnit
Defines the constants that specify whether the cell or row or any unit are used for selection in a SfDataGrid.
Inheritance
System.Object
    GridSelectionUnit
  Namespace: Syncfusion.UI.Xaml.Grids
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public sealed class GridSelectionUnit : EnumFields
Any
Both Cells and rows are selectable.
Declaration
public const GridSelectionUnit AnyField Value
| Type | 
|---|
| GridSelectionUnit | 
Cell
Only cells are selectable.
Declaration
public const GridSelectionUnit CellField Value
| Type | 
|---|
| GridSelectionUnit | 
Row
Only rows are selectable. Clicking a cell selects the row.
Declaration
public const GridSelectionUnit RowField Value
| Type | 
|---|
| GridSelectionUnit |