menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataGridSelectionUnit - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DataGridSelectionUnit

    Defines the constants that specify whether the rows, the cells or both the rows and cells are selectable in SfDataGrid.

    Inheritance
    System.Object
    DataGridSelectionUnit
    Namespace: Syncfusion.Maui.DataGrid
    Assembly: Syncfusion.Maui.DataGrid.dll
    Syntax
    public sealed class DataGridSelectionUnit : Enum

    Fields

    Any

    Tapping on the row header selects the entire row. Tapping on a cell selects only that particular cell.

    Declaration
    public const DataGridSelectionUnit Any
    Field Value
    Type
    DataGridSelectionUnit

    Cell

    Tapping on a cell selects only that particular cell and not the entire row.

    Declaration
    public const DataGridSelectionUnit Cell
    Field Value
    Type
    DataGridSelectionUnit

    Row

    Tapping on a cell selects the entire row.

    Declaration
    public const DataGridSelectionUnit Row
    Field Value
    Type
    DataGridSelectionUnit
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved