Supplies information about a CellContextMenu event that is being raised.
Object
EventArgs
MouseEventArgs
MouseEventArgs.Detail
MouseEventArgs.ScreenX
MouseEventArgs.ScreenY
MouseEventArgs.ClientX
MouseEventArgs.ClientY
MouseEventArgs.OffsetX
MouseEventArgs.OffsetY
MouseEventArgs.PageX
MouseEventArgs.PageY
MouseEventArgs.MovementX
MouseEventArgs.MovementY
MouseEventArgs.Button
MouseEventArgs.Buttons
MouseEventArgs.CtrlKey
MouseEventArgs.ShiftKey
MouseEventArgs.AltKey
MouseEventArgs.MetaKey
MouseEventArgs.Type
EventArgs.Empty
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public class DataGridCellMouseEventArgs<T> : MouseEventArgs| Name | Description |
|---|---|
| T | The data item type. |
Supplies information about a CellContextMenu event that is being raised.
public DataGridCellMouseEventArgs<T>()Gets the RadzenDataGridColumn which this cells represents.
public RadzenDataGridColumn<T> Column { get; }
| Type | Description |
|---|---|
| RadzenDataGridColumn<T> | Gets the RadzenDataGridColumn which this cells represents. |
Gets the data item which the clicked DataGrid row represents.
public T Data { get; }
| Type | Description |
|---|---|
| T | Gets the data item which the clicked DataGrid row represents. |
Gets a value indicating whether the default action has been prevented.
public bool IsDefaultPrevented { get; }
| Type | Description |
|---|---|
| bool | Gets a value indicating whether the default action has been prevented. |
Prevents the default action of the DataGrid for the same click. Call it in CellClick to stop the DataGrid from raising RowClick and selecting the row, or in CellDoubleClick to stop it from raising RowDoubleClick. An asynchronous CellClick handler should call it before its first await.
public void PreventDefault()