'宣言 Public Shared ReadOnly FlyoutAnimationProperty As DependencyProperty
public static readonly DependencyProperty FlyoutAnimationProperty
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); }