alexa
menu

WinForms

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

    Show / Hide Table of Contents

    Class SelectionUnit

    Defines the constants that specify the type of selection.

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

    Fields

    Any

    Specifies that the both cells and rows are selectable.

    Declaration
    public const SelectionUnit Any
    Field Value
    Type
    SelectionUnit
    Remarks

    Clicking on row header will select all data cells in a row.

    Cell

    Specifies that the cells are selectable on clicking a cell.

    Declaration
    public const SelectionUnit Cell
    Field Value
    Type
    SelectionUnit

    Row

    Specifies that the rows are selectable on clicking a cell.

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