Xceed Grid for WinForms v4.3 Documentation
MoveCurrentColumn Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridControl Class : MoveCurrentColumn Method
A HorizontalDirection representing the direction in which to move the current column.
Moves the CurrentColumn in the specified horizontal direction.
Syntax
'Declaration
 
Public Sub MoveCurrentColumn( _

   ByVal horizontalDirection As HorizontalDirection _

) 
'Usage
 
Dim instance As GridControl

Dim horizontalDirection As HorizontalDirection

 

instance.MoveCurrentColumn(horizontalDirection)
public void MoveCurrentColumn( 

   HorizontalDirection horizontalDirection

)

Parameters

horizontalDirection
A HorizontalDirection representing the direction in which to move the current column.
Remarks

When moving the current column, if the destination column is not visible, the next available visible column will become the current column. If no other columns are visbile, the current column will not change.

Moving the current column outside of the visible area of the grid does not cause the grid to scroll. To bring the new current column into view, the GridElement.BringIntoView method can be used.

Requirements

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

See Also

Reference

GridControl Class
GridControl Members