Skip to main content
Version: 3.5

DataGridViewCellEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

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

public class DataGridViewCellEventArgs : EventArgs

Constructors

Instance memberDataGridViewCellEventArgs(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 memberColumnIndex

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

Instance memberLocation

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

Instance memberRole

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 memberRowIndex

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

Instance memberX

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

Instance memberY

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.