'Declaration Public Property AllowDockingBottom As Nullable(Of Boolean)
public Nullable<bool> AllowDockingBottom {get; set;}
Imports Infragistics.Windows.DockManager Private Sub InitializeDmAllowDock(ByVal dockManager As XamDockManager) ' AllowDocking determines the default value for whether ' a ContentPane can be put into a Dockable state by the ' end user. The AllowDocking(Left|Right|Top|Bottom|Floating) ' can be used to override this value for specific edges. ' Note: These properties refer to edges of the dockmanager. ' Dim cp1 As New ContentPane() cp1.Header = "OnlyLeftOrRight" cp1.AllowDocking = False cp1.AllowDockingLeft = True cp1.AllowDockingRight = True ' the following is equivalent to the version above Dim cp2 As New ContentPane() cp2.Header = "AlsoLeftOrRight" cp2.AllowDockingTop = False cp2.AllowDockingBottom = False Dim split As New SplitPane() XamDockManager.SetInitialLocation(split, InitialPaneLocation.DockedLeft) split.Panes.Add(cp1) split.Panes.Add(cp2) dockManager.Panes.Add(split) End Sub
using Infragistics.Windows.DockManager; private void InitializeDmAllowDock(XamDockManager dockManager) { // AllowDocking determines the default value for whether // a ContentPane can be put into a Dockable state by the // end user. The AllowDocking(Left|Right|Top|Bottom|Floating) // can be used to override this value for specific edges. // Note: These properties refer to edges of the dockmanager. // ContentPane cp1 = new ContentPane(); cp1.Header = "OnlyLeftOrRight"; cp1.AllowDocking = false; cp1.AllowDockingLeft = true; cp1.AllowDockingRight = true; // the following is equivalent to the version above ContentPane cp2 = new ContentPane(); cp2.Header = "AlsoLeftOrRight"; cp2.AllowDockingTop = false; cp2.AllowDockingBottom = false; SplitPane split = new SplitPane(); XamDockManager.SetInitialLocation(split, InitialPaneLocation.DockedLeft); split.Panes.Add(cp1); split.Panes.Add(cp2); dockManager.Panes.Add(split); }
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