DataGridViewToolClickEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the CellToolClick event.
- C#
- VB.NET
public class DataGridViewToolClickEventArgs : DataGridViewCellEventArgs
Public Class DataGridViewToolClickEventArgs
Inherits DataGridViewCellEventArgs
Constructors
DataGridViewToolClickEventArgs(item, columnIndex, rowIndex)
Initializes a new instance of the ToolClickEventArgs class for the clicked ComponentTool.
| Name | Type | Description |
|---|---|---|
| item | ComponentTool | The ComponentTool to store in this event. |
| columnIndex | Int32 | The index of the column containing the cell that the event occurs for. |
| rowIndex | Int32 | The index of the row containing the cell that the event occurs for. |
Throws:
- ArgumentOutOfRangeException columnIndex is less than -1, or rowIndex is less than -1.
DataGridViewToolClickEventArgs(item, cellAddress)
Initializes a new instance of the ToolClickEventArgs class for the clicked ComponentTool.
| Name | Type | Description |
|---|---|---|
| item | ComponentTool | The ComponentTool to store in this event. |
| cellAddress | Point | The address of the cell that the event occurs for |
Throws:
- ArgumentOutOfRangeException cellAddress.X.X is less than -1, or cellAddress.Y.Y is less than -1.
Properties
Tool
ComponentTool: Returns the clicked tool item.
Used By
| Name | Description |
|---|---|
| DataGridViewToolClickEventHandler | Represents the method that will handle the CellToolClick event. |