menu

Blazor

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

    Show / Hide Table of Contents

    Class ContextMenuClickEventArgs<T>

    Provides information about an ContextMenuItemClicked event.

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

    Constructors

    ContextMenuClickEventArgs()

    Declaration
    public ContextMenuClickEventArgs()

    Properties

    Column

    Gets the current GridColumn where the context menu is opened in the grid.

    Declaration
    public GridColumn Column { get; }
    Property Value
    Type
    GridColumn

    Element

    Gets the instance of the SfContextMenu<TValue> component used to display the context menu.

    Declaration
    public ElementReference Element { get; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.ElementReference

    The SfContextMenu<TValue> instance used to display the context menu.

    Event

    Gets the details about either a Microsoft.AspNetCore.Components.Web.MouseEventArgs or Microsoft.AspNetCore.Components.Web.KeyboardEventArgs event.

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

    The event object. It can be either a mouse event or keyboard event.

    Item

    Gets or sets the MenuItemModel instance representing the details of the currently clicked context menu item.

    Declaration
    public MenuItemModel Item { get; set; }
    Property Value
    Type Description
    MenuItemModel

    The menu item model instance representing the currently clicked context menu item.

    RowInfo

    Gets the Row information where the context menu is opened in grid.

    Declaration
    public RowInfo<T> RowInfo { get; }
    Property Value
    Type
    RowInfo<T>
    Remarks
    • Cell: Cell Dom elements of the current cell.
    • CellIndex: The cell index value of the current cell.
    • Column: The current target column.
    • Row: The current traget Row details.
    • RowData: The current target row data.
    • RowIndex:The current target row index.
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved