Parameters
- verticalDirection
- A VerticalDirection value representing the direction in which to move the current row. The row will only be moved within the GridSection.Current grid section.
When moving the current row, if the destination row's CanBeCurrent property is false or if the row is not visible when in a collapsed group, the next available row which can be current and is visible will become the current row. If no other rows are available, the current row will not change.
Moving the current row outside of the visible area of the grid does not cause the grid to scroll. To bring the new current row into view, the GridElement.BringIntoView method can be used.
If you want to move the next row even if it is in a collapsed group, then the GridElement.BringIntoView method must be called on the destination row before the current row is moved.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2