WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCellCursorEventArgs - WindowsForms API Reference | Syncfusion CellCursor event. ">

    Show / Hide Table of Contents

    Class GridCellCursorEventArgs

    Provides data about the cancelable CellCursor event.

    Inheritance
    System.Object
    SyncfusionCancelEventArgs
    GridCellCancelEventArgs
    GridCellCursorEventArgs
    Inherited Members
    GridCellCancelEventArgs.RowIndex
    GridCellCancelEventArgs.ColIndex
    SyncfusionCancelEventArgs.ToString()
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public sealed class GridCellCursorEventArgs : GridCellCancelEventArgs
    Remarks

    GridCellCursorEventArgs is a custom event argument class used by the CellCursor event when the grid queries which cursor to be displayed for a cell.

    The event method is called before the cell renderer returns its cursor. If you want to provide your own cursor for the cell, you should assign the cursor object to System.Windows.Forms.Cursor and set System.Windows.Forms.Control.CancelEventArgs.Cancel to True.

    Constructors

    GridCellCursorEventArgs(Int32, Int32, GridCellButton, Cursor)

    Initializes a new instances for GridCellCursorEventArgs class.

    Declaration
    public GridCellCursorEventArgs(int rowIndex, int colIndex, GridCellButton cellButton, Cursor cursor)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    GridCellButton cellButton

    The cell button that is the target of the current mouse operation or NULL if the cell itself is the target.

    System.Windows.Forms.Cursor cursor

    The System.Windows.Forms.Cursor to be displayed.

    Properties

    CellButton

    Gets the cell button that is the target of the current mouse operation or null if the cell itself is the target.

    Declaration
    [TraceProperty(true)]
    public GridCellButton CellButton { get; }
    Property Value
    Type Description
    GridCellButton

    Cursor

    Gets or sets the System.Windows.Forms.Cursor to be displayed.

    Declaration
    [TraceProperty(true)]
    public Cursor Cursor { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.Cursor

    See Also

    GridCellCursorEventHandler
    CellCursor
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved