menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SelectionUnit - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SelectionUnit

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

    Inheritance
    System.Object
    SelectionUnit
    Namespace: Syncfusion.SfDataGrid.XForms
    Assembly: Syncfusion.SfDataGrid.XForms.dll
    Syntax
    public sealed class SelectionUnit : Enum

    Fields

    Any

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

    Declaration
    public const SelectionUnit Any
    Field Value
    Type
    SelectionUnit

    Cell

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

    Declaration
    public const SelectionUnit Cell
    Field Value
    Type
    SelectionUnit

    Row

    Tapping on a cell selects the entire row.

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