Version

Reposition(DockedPosition,Int32,Int32,Boolean) Method

Repositions the UltraToolbar to the specified dock area, dock row and dock column.
Syntax
'Declaration
 
Public Overloads Sub Reposition( _
   ByVal newDockPosition As DockedPosition, _
   ByVal newDockedRow As Integer, _
   ByVal newDockedColumn As Integer, _
   ByVal resetUserDragPosition As Boolean _
) 
public void Reposition( 
   DockedPosition newDockPosition,
   int newDockedRow,
   int newDockedColumn,
   bool resetUserDragPosition
)

Parameters

newDockPosition
The new position to assign to the toolbar.
newDockedRow
The new docked row to assign to the toolbar.
newDockedColumn
The new docked column 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