menu

Blazor

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

    Show / Hide Table of Contents

    Class CommandClickEventArgs<T>

    Provides information about an CommandClicked event.

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

    TValue of the grid component.

    Constructors

    CommandClickEventArgs()

    Declaration
    public CommandClickEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether to cancel the CUD("Create", "Update", and "Delet") actions in grid when command column is clicked.

    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 CUD actions will be cancelled.

    CommandColumn

    Gets the current CommandModel of the command column.

    Declaration
    public CommandModel CommandColumn { get; }
    Property Value
    Type Description
    CommandModel

    The CommandModel representing the current command column.

    EditedData

    Gets the modified row data associated with the row being updated using a command column.

    Declaration
    public T EditedData { get; set; }
    Property Value
    Type Description
    T

    An object of type T representing the modified data of the row being updated using a command column.

    Remarks

    This property returns null when the Command Column operation is either edited, deleted, or canceled. If the user modifies the data but decides to cancel the operation, the modified data will remain accessible through this property.

    RowData

    Gets the row data of the current command column.

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

    The row data of type T associated with the current command column.

    Target

    Defines the current target element.

    Declaration
    public DOM Target { get; set; }
    Property Value
    Type
    DOM
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved