Skip to main content
Version: 4.1

DataGridViewCellEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Provides data for DataGridView events related to cell and row operations.

public class DataGridViewCellEventArgs : EventArgs

Constructors​

Instance member DataGridViewCellEventArgs(columnIndex, rowIndex)​

Initializes a new instance of the DataGridViewCellEventArgs class.

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

Throws:

Properties​

Instance member ColumnIndex​

Int32: Returns a value indicating the column index of the cell that the event occurs for.

Instance member Location​

Point: Returns the location of the mouse or pointer event.

Instance member Role​

String: Returns the internal role assigned to the element that generated the pointer event: checkbox, button, ...

The value in the Role property is taken from the "role" attribute of the clicked element inside the cell. You can detect clicks on custom HTML content by adding the role attribute to the custom element.

Instance member RowIndex​

Int32: Returns a value indicating the row index of the cell that the event occurs for.

Instance member X​

Int32: Returns the x-coordinate of the mouse or touch event.

Instance member Y​

Int32: Returns the y-coordinate of the mouse or touch event.

Used By​

NameDescription
DataGridViewCellEventHandlerRepresents the method that will handle DataGridView events related to cell and row operations.