Class ContextMenuClickEventArgs<T>
Provides information about an ContextMenuItemClicked event.
Inherited Members
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. |
Name
Gets the name of the event that occurs when the context menu is opened.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the context menu open event as a string. |
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.