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.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public sealed class GridSelectionUnit : Enum
Fields
Any
Both Cells and rows are selectable.
Declaration
public const GridSelectionUnit Any
Field Value
Type |
---|
GridSelectionUnit |
Cell
Only cells are selectable.
Declaration
public const GridSelectionUnit Cell
Field Value
Type |
---|
GridSelectionUnit |
Row
Only rows are selectable. Clicking a cell selects the row.
Declaration
public const GridSelectionUnit Row
Field Value
Type |
---|
GridSelectionUnit |