<igDock:XamDockManager
x:Name="dockManager"
AllowMaximizeFloatingWindows="True"
AllowMinimizeFloatingWindows="True">
...
</igDock:XamDockManager>
You can allow the user to minimize and maximize the floating xamDockManager panes. Figure 1 and Figure 2 compare the end-user look of panes with allowed and disallowed minimization/maximization.
The minimization/maximization behavior of the floating panes of the xamDockManager is configured with the AllowMaximizeFloatingWindows and AllowMinimizeFloatingWindows properties:
In XAML:
<igDock:XamDockManager
x:Name="dockManager"
AllowMaximizeFloatingWindows="True"
AllowMinimizeFloatingWindows="True">
...
</igDock:XamDockManager>
In Visual Basic:
Me.dockManager.AllowMaximizeFloatingWindows = True
Me.dockManager.AllowMinimizeFloatingWindows = True
In C#:
this.dockManager.AllowMaximizeFloatingWindows = true;
this.dockManager.AllowMinimizeFloatingWindows = true;
In addition to that, you can configure the minimization / maximization permissions for each floating pane individually by setting the AllowMaximize and AllowMinimize Boolean properties of the parent PaneToolWindow of your float pane:
In XAML:
<igDock:XamDockManager
AllowMaximizeFloatingWindows="True"
AllowMinimizeFloatingWindows="True">
<igDock:XamDockManager.Panes>
<igDock:SplitPane
igDock:XamDockManager.InitialLocation="FloatingOnly"
igDock:XamDockManager.FloatingLocation="300,300">
<igDock:ContentPane x:Name="floatingOnly">
<locCtls:XdmSamplePaneContent Content="Some Content" />
</igDock:ContentPane>
</igDock:SplitPane>
</igDock:XamDockManager.Panes>
</igDock:XamDockManager>
In Visual Basic:
Dim tw As ToolWindow = ToolWindow.GetToolWindow(Me.floatingOnly)
If tw IsNot Nothing Then
tw.AllowMinimize = False
tw.AllowMaximize = False
End If
In C#:
ToolWindow tw = ToolWindow.GetToolWindow(this.floatingOnly);
if (tw != null)
{
tw.AllowMinimize = false;
tw.AllowMaximize = false;
}