alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class GridCellActivateAction

    Specifies current cell activation behavior when moving the current cell or clicking inside a cell. Defines when to set the focus / toggle edit mode for the current cell.

    Inheritance
    System.Object
    GridCellActivateAction
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public sealed class GridCellActivateAction : Enum
    Remarks

    See ActivateCurrentCellBehavior

    Fields

    ClickOnCell

    Begin editing / focus on text box after user clicked on cell.

    Declaration
    public const GridCellActivateAction ClickOnCell
    Field Value
    Type
    GridCellActivateAction
    Remarks

    The cancelable CurrentCellStartEditing event may block editing mode for the current cell.

    DblClickOnCell

    Begin editing / focus on text box when user double clicked on cell.

    Declaration
    public const GridCellActivateAction DblClickOnCell
    Field Value
    Type
    GridCellActivateAction
    Remarks

    The cancelable CurrentCellStartEditing event may block editing mode for the current cell.

    None

    Do not set focus to text box.

    Declaration
    public const GridCellActivateAction None
    Field Value
    Type
    GridCellActivateAction

    PositionCaret

    Forward mouse click to the text box so that the caret can be positioned at the character under the mouse pointer.

    Declaration
    public const GridCellActivateAction PositionCaret
    Field Value
    Type
    GridCellActivateAction

    SelectAll

    Begin editing / focus on text box and select all text whenever a cell becomes current cell no matter if user clicked on cell or moved with arrow keys.

    Declaration
    public const GridCellActivateAction SelectAll
    Field Value
    Type
    GridCellActivateAction

    SetCurrent

    Begin editing / focus on text box whenever a cell becomes current cell no matter if user clicked on cell or moved with arrow keys.

    Declaration
    public const GridCellActivateAction SetCurrent
    Field Value
    Type
    GridCellActivateAction
    Remarks

    When GridCellActivateAction.SetCurrent is specified BeginEdit() will be called before the CurrentCellActivated event is raised.

    See the CurrentCellActivated event if you want to programmatically call BeginEdit().

    The cancelable CurrentCellStartEditing event may block editing mode for the current cell.

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