This sample demonstrates using the FlyoutAnimation property to control the type of animation performed when the unpinned flyout for a ContentPane is displayed/hidden.
Imports Infragistics.Windows.DockManager
Private Sub InitializeDmWithFlyoutAni(ByVal dockManager As XamDockManager)
' The FlyoutAnimation property allows you to
' control how/whether the unpinned flyout will
' animate into position when pinning and
' unpinning a pane
dockManager.FlyoutAnimation = PaneFlyoutAnimation.Resize
' create some panes to allow the behavior to be demonstrated
Dim split As New SplitPane()
Dim cp As New ContentPane()
cp.Header = "Pane"
split.Panes.Add(cp)
dockManager.Panes.Add(split)
End Sub
using Infragistics.Windows.DockManager;
private void InitializeDmWithFlyoutAni(XamDockManager dockManager)
{
// The FlyoutAnimation property allows you to
// control how/whether the unpinned flyout will
// animate into position when pinning and
// unpinning a pane
dockManager.FlyoutAnimation = PaneFlyoutAnimation.Resize;
// create some panes to allow the behavior to be demonstrated
SplitPane split = new SplitPane();
ContentPane cp = new ContentPane();
cp.Header = "Pane";
split.Panes.Add(cp);
dockManager.Panes.Add(split);
}
<!-- The FlyoutAnimation property allows you to
control how/whether the unpinned flyout will
animate into position when pinning and
unpinning a pane -->
<igDock:XamDockManager FlyoutAnimation="Resize">
<igDock:XamDockManager.Panes>
<igDock:SplitPane>
<igDock:ContentPane Header="Pane" />
</igDock:SplitPane>
</igDock:XamDockManager.Panes>
</igDock:XamDockManager>
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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