DataGridViewCellContextMenuNeededEventArgs

Wisej.Web.DataGridViewCellContextMenuNeededEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.1.0.0)

Provides data for the CellContextMenuNeeded event.

public class DataGridViewCellContextMenuNeededEventArgs : DataGridViewCellEventArgs

Constructors

DataGridViewCellContextMenuNeededEventArgs(columnIndex, rowIndex)

Initializes a new instance of the DataGridViewCellContextMenuNeededEventArgs class.

NameTypeDescription

columnIndex

The column index of cell that the event occurred for.

rowIndex

The row index of the cell that the event occurred for.

DataGridViewCellContextMenuNeededEventArgs(columnIndex, rowIndex, x, y)

Initializes a new instance of the DataGridViewCellContextMenuNeededEventArgs class.

NameTypeDescription

columnIndex

The column index of cell that the event occurred for.

rowIndex

The row index of the cell that the event occurred for.

x

The x-coordinate of the pointer relative to the cell.

y

The y-coordinate of the pointer relative to the cell.

Properties

ContextMenu

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

Used By

NameDescription

Represents the method that will handle a CellContextMenuStripNeeded event of a DataGridView.

Last updated