menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCurrentCellMovingEventArgs - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridCurrentCellMovingEventArgs

    Provides data about the cancelable CurrentCellMoving event before the current cell is moved to a new position as a result from a MoveTo(Int32, Int32) method call.

    Inheritance
    System.Object
    SyncfusionCancelRoutedEventArgs
    GridCurrentCellActivatingEventArgs
    GridCurrentCellMovingEventArgs
    Inherited Members
    GridCurrentCellActivatingEventArgs.ActivateOptions
    GridCurrentCellActivatingEventArgs.CellRowColumnIndex
    SyncfusionCancelRoutedEventArgs.Cancel
    SyncfusionCancelRoutedEventArgs.ToString()
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridCurrentCellMovingEventArgs : GridCurrentCellActivatingEventArgs
    Remarks

    The GridCurrentCellMovingEventArgs is a custom event argument class used by the CurrentCellMoving event when the current cell is about to be moved to a new position. You can disallow the activataion of specific cells at run-time when you assign true to .

    You can modify the and to activate a different cell.

    You can also modify the .

    Once the current cell has been moved, a CurrentCellMoved event is raised or a CurrentCellMoveFailed if moving to the specified target cell failed.

    See MoveTo(Int32, Int32) for a discussion about the order of events that you receive when the current cell is moved.

    Constructors

    GridCurrentCellMovingEventArgs(RowColumnIndex, GridActivateCurrentCellOptions, RoutedEvent, Object)

    Initalizes a new object.

    Declaration
    public GridCurrentCellMovingEventArgs(RowColumnIndex cellRowColumnIndex, GridActivateCurrentCellOptions options, RoutedEvent routedEvent, object source)
    Parameters
    Type Name Description
    RowColumnIndex cellRowColumnIndex

    The current cell's row and column indices as RowColumnIndex.

    GridActivateCurrentCellOptions options

    The options specified for the MoveTo(Int32, Int32) operation.

    System.Windows.RoutedEvent routedEvent

    The routed event.

    System.Object source

    The event source.

    See Also

    GridCurrentCellMovingEventHandler
    CurrentCellMoving
    MoveTo(Int32, Int32)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved