Working with C1DockControl > Docking Options |
DockControl for WPF and Silverlight provides four DockMode options: Floating, Docked, Sliding, and Hidden. The following images show each of the docking options available in the drop-down list of the C1DockTabControl.
Floating
Click Floating to undock the window and allow it to float over the other windows.
Docked
Click Docked to dock the window with the other windows.
Sliding
Click Sliding to minimize the C1DockTabItem along the edges of the IDE.
Hidden
Click the Hide button to hide the C1DockTabControl.
To set the Dock mode:
You can set the dock mode at design time using the C1DockTabControl.DockMode property. The following XAML markup sets the dock mode to Floating:
XAML |
Copy Code
|
---|---|
<c1:C1DockTabControl DockMode="Floating"> <c1:C1DockTabItem Header="Toolbox"> <TextBlock Text="Toolbox" /> </c1:C1DockTabItem> </c1:C1DockTabControl> |
See Setting the Dock Mode for more information.