Version

Reposition(DockedPosition,Int32,Boolean) Method

Repositions the UltraToolbar to the specified dock area and dock row, ensuring that it is the only toolbar on the dock row.
Syntax
'Declaration
 
Public Overloads Sub Reposition( _
   ByVal newDockPosition As DockedPosition, _
   ByVal newDockedRow As Integer, _
   ByVal resetUserDragPosition As Boolean _
) 
public void Reposition( 
   DockedPosition newDockPosition,
   int newDockedRow,
   bool resetUserDragPosition
)

Parameters

newDockPosition
The new position to assign to the toolbar.
newDockedRow
The new docked row to assign to the toolbar.
resetUserDragPosition
The value which determines whether to reset the toolbar's position within the dock row, which has been set by the user dragging the toolbar.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionnewDockPosition is not defined in the DockedPosition enumeration.
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