DataGridViewCellMouseEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that will handle mouse-related events raised by a DataGridView.
- C#
- VB.NET
public delegate void DataGridViewCellMouseEventHandler(Object sender, DataGridViewCellMouseEventArgs e)
Public Delegate Sub DataGridViewCellMouseEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellMouseEventArgs)
Parameters
| Name | Type | Description |
|---|---|---|
| sender | Object | The source of the event. |
| e | DataGridViewCellMouseEventArgs | A DataGridViewCellMouseEventArgs that contains the event data. |
Fired By
| Name | Description |
|---|---|
| DataGridView.CellMouseClick | Occurs whenever the user clicks anywhere on a cell with the mouse. |
| DataGridView.CellMouseDoubleClick | Fired when a cell within the DataGridView is double-clicked. |
| DataGridView.CellMouseMove | Fired when the mouse pointer moves over the DataGridView control. |
| DataGridView.CellMouseDown | Fired when the user presses a mouse button while the pointer is within the boundaries of a cell. |
| DataGridView.CellMouseUp | Fired when the user releases a mouse button while over a cell. |
| DataGridView.RowHeaderMouseClick | Fired when the user clicks within the boundaries of a row header. |
| DataGridView.RowHeaderMouseDoubleClick | Fired when a row header is double-clicked. |
| DataGridView.ColumnHeaderMouseClick | Fired when the user clicks a column header. |
| DataGridView.ColumnHeaderMouseDoubleClick | Fired when a column header is double-clicked. |