WPF

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

    Show / Hide Table of Contents

    Class GridCurrentCellActivatingEventArgs

    Provides data about the cancelable CurrentCellActivating event before the grid activates the specified cell as current cell.

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

    You can disallow the activation of specific cells at run-time when you assign True to .

    You can modify the and to activate a different cell.

    You can determine if Activate(Int32, Int32) was called stand-alone or as result of a MoveTo(Int32, Int32) call by checking the IsInMoveTo property.

    Once the current cell has been activated, a CurrentCellActivated event is raised or a CurrentCellActivateFailed if activating the specified cell failed.

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

    Constructors

    GridCurrentCellActivatingEventArgs(RowColumnIndex, GridActivateCurrentCellOptions, RoutedEvent, Object)

    Initalizes a new object.

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

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

    GridActivateCurrentCellOptions activateOptions

    A GridActivateCurrentCellOptions value that details options how to activate the current cell. You can specify if the associated control should get focus, if range selection should be ignored and more.

    System.Windows.RoutedEvent routedEvent

    The routed event.

    System.Object source

    The event source.

    Properties

    ActivateOptions

    A GridActivateCurrentCellOptions value that details options how to activate the current cell. You can specify if the associated control should get focus, if range selection should be ignored and more.

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

    CellRowColumnIndex

    The row and column indices of the current cell.

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

    See Also

    GridCurrentCellActivatingEventHandler
    CurrentCellActivating
    Activate(Int32, Int32)
    IsInMoveTo
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved