menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CellDeselectEventArgs<T> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CellDeselectEventArgs<T>

    Provides information about the CellDeselecting event, and CellDeselected event.

    Inheritance
    System.Object
    GridEventBaseArgs
    CellDeselectEventArgs<T>
    Inherited Members
    GridEventBaseArgs.PreventRender
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class CellDeselectEventArgs<T> : GridEventBaseArgs
    Type Parameters
    Name Description
    T

    TValue of the grid component.

    Constructors

    CellDeselectEventArgs()

    Declaration
    public CellDeselectEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether to cancel the deselection of the cell.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false. If the Cancel property is set to true, then the deselection of the cell will be cancelled.

    Remarks

    The CellDeselected event should not be cancelled since it is triggered after the completion of a selection.

    CellIndex

    Gets the cell index for the currently deselected/deselecting cell.

    Declaration
    public int CellIndex { get; }
    Property Value
    Type Description
    System.Int32

    The index of the cell that is currently being deselected or has been deselected.

    Cells

    Defines the currently selected/deselected cells.

    Declaration
    public List<DOM> Cells { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<DOM>

    Data

    Gets the row data associated with the currently deselecting or deselected cell in a grid.

    Declaration
    public T Data { get; }
    Property Value
    Type Description
    T

    An object of type T representing the data associated with the currently deselecting or deselected row in a grid.

    Event

    Gets the Microsoft.AspNetCore.Components.Web.MouseEventArgs of the currently deselected/deselecting cell.

    Declaration
    public MouseEventArgs Event { get; }
    Property Value
    Type
    Microsoft.AspNetCore.Components.Web.MouseEventArgs

    IsCtrlPressed

    Gets a value indicating whether the CTRL key is currently pressed or not.

    Declaration
    public bool IsCtrlPressed { get; }
    Property Value
    Type Description
    System.Boolean

    true if the CTRL key is pressed otherwise, false. The default value is false.

    IsShiftPressed

    Gets a value indicating whether the SHIFT key is currently pressed or not.

    Declaration
    public bool IsShiftPressed { get; }
    Property Value
    Type Description
    System.Boolean

    true if the SHIFT key is pressed otherwise, false. The default value is false.

    RowIndex

    Gets the index of the row for the currently deselecting or deselected cell.

    Declaration
    public int RowIndex { get; }
    Property Value
    Type Description
    System.Int32

    An integer representing the row index of the current deselecting or deselected cell.

    Back to top Generated by DocFX
    OSZAR »
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved
    OSZAR »