ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.5.2 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / KeyActionEnter Property

In This Topic
    KeyActionEnter Property (C1FlexPivotGrid)
    In This Topic
    Gets or sets the action to be performed when the user presses the ENTER key.
    Syntax
    'Declaration
     
    Public Property KeyActionEnter As KeyActionEnum
    public KeyActionEnum KeyActionEnter {get; set;}
    Remarks

    By default, the grid will move the selection down to the next visible row when the user presses the ENTER key. If the grid is editable, pressing ENTER will cause the grid to enter edit mode, and pressing ENTER while in edit mode will cause the cursor to move down.

    This property allows you to modify this behavior and disable cell navigation with the ENTER key, or cause it to move the selection to the next column instead of row.

    Note that the C1.Win.C1FlexGrid.KeyActionEnum.MoveAcrossOut and as C1.Win.C1FlexGrid.KeyActionEnum.MoveAcross settings have the same effect when applied to this property. Pressing the ENTER key will move the selection within the grid, but will not move the focus to the next control on the form.

    See Also