menu

Blazor

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

    Show / Hide Table of Contents

    Class CellSelectingEventArgs<T>

    Provides information about an CellSelecting event.

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

    TValue of the grid component.

    Constructors

    CellSelectingEventArgs()

    Declaration
    public CellSelectingEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether to cancel the selection 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 selection of the cell will be cancelled.

    CellIndex

    Gets the index of the currently selecting cell.

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

    The index of the currently selecting cell.

    Cells

    Defines the currently selected/deselected cells.

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

    CurrentCell

    Defines the element.

    Declaration
    public DOM CurrentCell { get; set; }
    Property Value
    Type
    DOM

    CurrentValue

    Gets the value of the cell which is going to be selected.

    Declaration
    public object CurrentValue { get; }
    Property Value
    Type Description
    System.Object

    Returns the value of the cell which is going to be selected.

    Remarks

    If the Field property is not set for a GridColumn, such as a template column or checkbox column, then the corresponding cell value will be returned as null while selecting.

    Data

    Gets the row data associated with the currently selecting cell.

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

    The row data associated with the currently selecting cell.

    Event

    Gets the Microsoft.AspNetCore.Components.Web.MouseEventArgs of the currently selecting cell.

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

    IsCtrlPressed

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

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

    The default value is false, If thr CTRL key is pressed then the value is true.

    IsShiftPressed

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

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

    The default value is false, If SHIFT key is pressed then the value is true.

    PreviousCellIndex

    Gets the previously selected cell index.

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

    An integer value representing the previously selected cell index.

    PreviousRowCell

    Defines the previously selected cell element.

    Declaration
    public DOM PreviousRowCell { get; set; }
    Property Value
    Type
    DOM

    PreviousRowCellIndex

    Defines the previously selected cell index.

    Declaration
    public int PreviousRowCellIndex { get; set; }
    Property Value
    Type
    System.Int32

    PreviousValue

    Gets the value of the previously selected cell.

    Declaration
    public object PreviousValue { get; }
    Property Value
    Type Description
    System.Object

    Returns the previously selected cell value.

    Remarks

    If the Field property is not set for a GridColumn, such as a template column or checkbox column, then the corresponding cell value will be returned as null while selecting.

    RowIndex

    Gets the index of the row associated with the currently selecting cell.

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

    The index of the row associated with the currently selecting cell.

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