Skip to main content
Version: 3.5

DataGridViewCellContextMenuNeededEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides data for the CellContextMenuNeeded event.

public class DataGridViewCellContextMenuNeededEventArgs : DataGridViewCellEventArgs

Constructors

Instance memberDataGridViewCellContextMenuNeededEventArgs(columnIndex, rowIndex)

Initializes a new instance of the DataGridViewCellContextMenuNeededEventArgs class.

NameTypeDescription
columnIndexInt32The column index of cell that the event occurred for.
rowIndexInt32The row index of the cell that the event occurred for.

Instance memberDataGridViewCellContextMenuNeededEventArgs(columnIndex, rowIndex, x, y)

Initializes a new instance of the DataGridViewCellContextMenuNeededEventArgs class.

NameTypeDescription
columnIndexInt32The column index of cell that the event occurred for.
rowIndexInt32The row index of the cell that the event occurred for.
xInt32The x-coordinate of the pointer relative to the cell.
yInt32The y-coordinate of the pointer relative to the cell.

Properties

Instance memberContextMenu

ContextMenu: Returns or sets the context menu for the cell that raised the CellContextMenuNeeded event.

Used By

NameDescription
DataGridViewCellContextMenuNeededEventHandlerRepresents the method that will handle a CellContextMenuStripNeeded event of a DataGridView.