alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class GridSelectionFlags

    Specifies behavior for selecting cells for the grid by the user with mouse or keyboard.

    Inheritance
    System.Object
    GridSelectionFlags
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public sealed class GridSelectionFlags : Enum
    Remarks

    See AllowSelection.

    Fields

    Any

    Default behavior for selecting cells: Rows, Columns, Table, Cell, Multiple, Extends Shift Key support, and alphablending.

    Declaration
    public const GridSelectionFlags Any
    Field Value
    Type
    GridSelectionFlags

    Cell

    Indidvidual cells can be selected.

    Declaration
    public const GridSelectionFlags Cell
    Field Value
    Type
    GridSelectionFlags

    Column

    Columns can be selected.

    Declaration
    public const GridSelectionFlags Column
    Field Value
    Type
    GridSelectionFlags

    Keyboard

    Allow extend existing selection when user holds Shift Key and arrow keys.

    Declaration
    public const GridSelectionFlags Keyboard
    Field Value
    Type
    GridSelectionFlags

    MixRangeType

    Allow both rows and columns to be selected at same time when Multiple is specified. By default, the grid does not allow having rows and column ranges be selected at the same time.

    Declaration
    public const GridSelectionFlags MixRangeType
    Field Value
    Type
    GridSelectionFlags

    Multiple

    Multiple ranges of cells can be selected. The user has to press Control Key to select multiple ranges.

    Declaration
    public const GridSelectionFlags Multiple
    Field Value
    Type
    GridSelectionFlags

    None

    Disable selecting cells.

    Declaration
    public const GridSelectionFlags None
    Field Value
    Type
    GridSelectionFlags

    Row

    Rows can be selected.

    Declaration
    public const GridSelectionFlags Row
    Field Value
    Type
    GridSelectionFlags

    Shift

    Allow extend existing selection when user holds Shift Key and clicks on a cell.

    Declaration
    public const GridSelectionFlags Shift
    Field Value
    Type
    GridSelectionFlags

    Table

    Whole table can be selected.

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