Class GridCellClickEventArgs
Provides data about the cancelable CheckBoxClick, CellClick, and CellDoubleClick events.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridCellClickEventArgs : GridCellCancelEventArgs
Remarks
GridQueryCellModelEventArgs is a custom event argument class used by the CheckBoxClick, CellClick, and CellDoubleClick events when the user clicks inside a cell.
The event method is called before the cell renderer processes the event (and toggles the check box or positions the caret, sets the current cell, etc.). If you want to abort the current operation at run-time you should assign True to System.Windows.Forms.Control.CancelEventArgs.Cancel.
Constructors
GridCellClickEventArgs(Int32, Int32, MouseEventArgs, Boolean)
Initializes a new instances for the GridCellClickEventArgs class.
Declaration
public GridCellClickEventArgs(int rowIndex, int colIndex, MouseEventArgs e, bool overImage)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The row index. |
System.Int32 | colIndex | The column index. |
System.Windows.Forms.MouseEventArgs | e | The System.Windows.Forms.MouseEventArgs originating this event. |
System.Boolean | overImage | Indicates if the mouse was over a image (see ImageIndex) in static cell when the mouse was released. |
Properties
IsOverImage
Gets a value indicating whether the mouse was over an image (see ImageIndex) in a static cell when the mouse was released.
Declaration
public bool IsOverImage { get; }
Property Value
Type |
---|
System.Boolean |
MouseEventArgs
Gets the System.Windows.Forms.MouseEventArgs originating this event.
Declaration
public MouseEventArgs MouseEventArgs { get; }
Property Value
Type |
---|
System.Windows.Forms.MouseEventArgs |