WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridQueryNextCurrentCellPositionEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridQueryNextCurrentCellPositionEventArgs

    Provides data for
    the QueryNextCurrentCellPosition event.

    Inheritance
    System.Object
    System.EventArgs
    SyncfusionEventArgs
    SyncfusionHandledEventArgs
    GridQueryNextCurrentCellPositionEventArgs
    GridMoveCurrentCellDirectionEventArgs
    Inherited Members
    SyncfusionHandledEventArgs.Handled
    SyncfusionEventArgs.ToString()
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridQueryNextCurrentCellPositionEventArgs : SyncfusionHandledEventArgs
    Remarks

    Used by QueryNextCurrentCellPosition.

    QueryNextCurrentCellPosition occurs before the the current cell is moved into a specific direction. Normally, cells that are not marked as enabled with Enabled will be skipped but you can hook into this mechanism by implementing a event handler for this event.

    See the SampleGrid class in the grid pad sample for an example.

    Constructors

    GridQueryNextCurrentCellPositionEventArgs(GridDirectionType, Int32, Int32)

    Initializes the new instances for the GridQueryNextCurrentCellPositionEventArgs class.

    Declaration
    public GridQueryNextCurrentCellPositionEventArgs(GridDirectionType direction, int rowIndex, int colIndex)
    Parameters
    Type Name Description
    GridDirectionType direction

    The GridDirectionType that specifies the direction of the current cell movement.

    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    Properties

    ColIndex

    Gets or sets the column index.

    Declaration
    [TraceProperty(true)]
    public int ColIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    Direction

    Gets or sets the GridDirectionType that specifies the direction of the current cell movement.

    Declaration
    [TraceProperty(true)]
    public GridDirectionType Direction { get; set; }
    Property Value
    Type Description
    GridDirectionType

    Result

    Gets or sets a value indicating whether if current cell can be moved in a specified direction. The resulting value. Set this to True if current cell can be moved in a specified direction; False if not. Don't forget to also set Handled to True.

    Declaration
    [TraceProperty(true)]
    public bool Result { get; set; }
    Property Value
    Type Description
    System.Boolean

    RowIndex

    Gets or sets the row index.

    Declaration
    [TraceProperty(true)]
    public int RowIndex { get; set; }
    Property Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved