Sets or returns a value that determines whether the control uses the arrow keys for grid navigation.
Syntax
object.AllowArrows [= value]
The AllowArrows property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | A Boolean expression that determines the arrow keys are used for grid navigation, as described in Settings. |
Settings
The settings for value are:
Setting | Description |
True | (Default) The user can use the arrow keys to move both from cell to cell and row to row. |
False | The left and right arrow keys will move focus from control to control and cannot be used to move between cells. |
Remarks
The user cannot use the arrow keys to move out of the DataGrid control when this property is set to True. If the WrapCellPointer property is also set to True, then the arrow keys will wrap around rows and the user can navigate the entire grid using the arrow keys.