WPF

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

    Show / Hide Table of Contents

    Class GridQueryNextCurrentCellPositionEventArgs

    Holds and lets you customize row and column coordinates for the QueryNextCurrentCellPosition event.

    Inheritance
    System.Object
    SyncfusionRoutedEventArgs
    GridQueryNextCurrentCellPositionEventArgs
    GridMoveCurrentCellDirectionEventArgs
    Inherited Members
    SyncfusionRoutedEventArgs.ToString()
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridQueryNextCurrentCellPositionEventArgs : SyncfusionRoutedEventArgs
    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 gridpad sample for an example.

    Constructors

    GridQueryNextCurrentCellPositionEventArgs(GridDirectionType, Int32, Int32, RoutedEvent, Object)

    Initializes a new object.

    Declaration
    public GridQueryNextCurrentCellPositionEventArgs(GridDirectionType direction, int rowIndex, int colIndex, RoutedEvent routedEvent, object source)
    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.

    System.Windows.RoutedEvent routedEvent
    System.Object source

    Properties

    ColIndex

    The column index.

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

    Direction

    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

    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

    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 - 2023 Syncfusion Inc. All Rights Reserved