menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridSelectionUnit - WinUI API Reference | Syncfusion

    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
    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved