Articles in this section
Category / Section

How to move from the last cell of a row to the next row's first cell in a grid by pressing the TAB or Enter key in WinForms GridControl?

3 mins read

Setting cell navigation behavior

You can move from the last cell of a row to the next row’s first cell in a Grid, when the Tab or Enter key is pressed, by using the WrapCellBehavior property.

C#

//Sets WrapCellBehavior property to Wrap Row to move to the next row.
gridControl1.Model.Options.WrapCellBehavior = GridWrapCellBehavior.WrapGrid;

VB

'Sets WrapCellBehavior property to Wrap Row to move to the next row.
gridControl1.Model.Options.WrapCellBehavior = GridWrapCellBehavior.WrapGrid

Samples:

C#: WrapCell

VB: WrapCell

Reference link: https://help.syncfusion.com/windowsforms/grid-control/cell-navigation#setting-cell-navigation-behavior

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied