Version

Reposition Method (UltraExplorerBarGroupsCollection)

Repositions the provided UltraExplorerBarGroup to a specified position within this UltraExplorerBarGroupsCollection.
Syntax
'Declaration
 
Public Sub Reposition( _
   ByVal group As UltraExplorerBarGroup, _
   ByVal index As Integer _
) 
public void Reposition( 
   UltraExplorerBarGroup group,
   int index
)

Parameters

group
The UltraExplorerBarGroup to be repositioned.
index
The positional index into this UltraExplorerBarGroupsCollection where the UltraExplorerBarGroup is inserted.
Exceptions
ExceptionDescription
System.ArgumentExceptionThrown when the value of the group parameter is null or not in the collection.
System.ArgumentExceptionThrown when the value of the index parameter is less than zero.
Remarks
Example
This code demonstrates how to reposition the second UltraExplorerBarGroup in the UltraExplorerBar to the first position.

' Move the second UltraExplorerBarGroup to the first position.

Me.UltraExplorerBar1.Groups.Reposition(Me.UltraExplorerBar1.Groups(1), 0)
// Move the second UltraExplorerBarGroup to the first position.
this.ultraExplorerBar1.Groups.Reposition(this.ultraExplorerBar1.Groups[1], 0);
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