WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCellClickEventArgs

    Show / Hide Table of Contents

    Class GridCellClickEventArgs

    Provides data about the cancelable CheckBoxClick, CellClick, and CellDoubleClick events.

    Inheritance
    System.Object
    SyncfusionCancelEventArgs
    GridCellCancelEventArgs
    GridCellClickEventArgs
    Inherited Members
    GridCellCancelEventArgs.RowIndex
    GridCellCancelEventArgs.ColIndex
    SyncfusionCancelEventArgs.ToString()
    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 Description
    System.Boolean

    MouseEventArgs

    Gets the System.Windows.Forms.MouseEventArgs originating this event.

    Declaration
    public MouseEventArgs MouseEventArgs { get; }
    Property Value
    Type Description
    System.Windows.Forms.MouseEventArgs

    See Also

    GridCellClickEventHandler
    RaiseCheckBoxClick(System.Int32, System.Int32, System.Windows.Forms.MouseEventArgs)
    RaiseCellClick(System.Int32, System.Int32, System.Windows.Forms.MouseEventArgs, System.Boolean)
    RaisePushButtonClick(System.Int32, System.Int32)
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved