DataGridCellMouseEventArgs<T> Class

Supplies information about a CellContextMenu event that is being raised.

Inheritance

Object

EventArgs

MouseEventArgs

DataGridCellMouseEventArgs<T>

Inherited Members

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

Syntax

public class DataGridCellMouseEventArgs<T> : MouseEventArgs

Type Parameters

Name Description
TThe data item type.

Constructors

DataGridCellMouseEventArgs<T>Link to this section

Supplies information about a CellContextMenu event that is being raised.

Declaration
public DataGridCellMouseEventArgs<T>()

Properties

ColumnLink to this section

Gets the RadzenDataGridColumn which this cells represents.

Declaration
public RadzenDataGridColumn<T> Column { get; }
Property Value
Type Description
RadzenDataGridColumn<T>Gets the RadzenDataGridColumn which this cells represents.

DataLink to this section

Gets the data item which the clicked DataGrid row represents.

Declaration
public T Data { get; }
Property Value
Type Description
TGets the data item which the clicked DataGrid row represents.

IsDefaultPreventedLink to this section

Gets a value indicating whether the default action has been prevented.

Declaration
public bool IsDefaultPrevented { get; }
Property Value
Type Description
boolGets a value indicating whether the default action has been prevented.

Methods

PreventDefaultLink to this section

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.

Declaration
public void PreventDefault()
An error has occurred. This app may no longer respond until reloaded. Reload 🗙