DataGridViewCellContextMenuNeededEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the CellContextMenuNeeded event.
- C#
- VB.NET
public class DataGridViewCellContextMenuNeededEventArgs : DataGridViewCellEventArgs
Public Class DataGridViewCellContextMenuNeededEventArgs
Inherits DataGridViewCellEventArgs
Constructors
DataGridViewCellContextMenuNeededEventArgs(columnIndex, rowIndex)
Initializes a new instance of the DataGridViewCellContextMenuNeededEventArgs class.
| Name | Type | Description |
|---|---|---|
| columnIndex | Int32 | The column index of cell that the event occurred for. |
| rowIndex | Int32 | The row index of the cell that the event occurred for. |
DataGridViewCellContextMenuNeededEventArgs(columnIndex, rowIndex, x, y)
Initializes a new instance of the DataGridViewCellContextMenuNeededEventArgs class.
| Name | Type | Description |
|---|---|---|
| columnIndex | Int32 | The column index of cell that the event occurred for. |
| rowIndex | Int32 | The row index of the cell that the event occurred for. |
| x | Int32 | The x-coordinate of the pointer relative to the cell. |
| y | Int32 | 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
| Name | Description |
|---|---|
| DataGridViewCellContextMenuNeededEventHandler | Represents the method that will handle a CellContextMenuStripNeeded event of a DataGridView. |