WinUI

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridSelectionUnit

    Show / Hide Table of Contents

    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 : Enum

    Fields

    Any

    Both Cells and rows are selectable.

    Declaration
    public const GridSelectionUnit Any
    Field Value
    Type Description
    GridSelectionUnit

    Cell

    Only cells are selectable.

    Declaration
    public const GridSelectionUnit Cell
    Field Value
    Type Description
    GridSelectionUnit

    Row

    Only rows are selectable. Clicking a cell selects the row.

    Declaration
    public const GridSelectionUnit Row
    Field Value
    Type Description
    GridSelectionUnit

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved