Version

SetVisiblePosition Method

Sets the visible position of the header.
Syntax
'Declaration
 
Public Sub SetVisiblePosition( _
   ByVal visiblePosition As Integer, _
   ByVal raiseColPosChangedNotifications As Boolean _
) 
public void SetVisiblePosition( 
   int visiblePosition,
   bool raiseColPosChangedNotifications
)

Parameters

visiblePosition
The visible position to apply to the column
raiseColPosChangedNotifications
True to raise ColPosChanged notifications.
Remarks

This method can be used to specify the ordinal positions of groups and columns.

For group headers, this methos sets the position of the group within that group's band. For column headers, this method sets the position of the column within its group, if the column belongs to a group, or its band, if the column belongs to a band.

Note: This method does the same thing as the VisiblePosition property except that this method gives you the option of raising UltraGridBase.BeforeColPosChanged and UltraGridBase.AfterColPosChanged events where as the VisiblePosition property does not raise these notifications.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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