バージョン

AllowDockingRightProperty フィールド

AllowDockingRight 依存プロパティを識別します。
シンタックス
'宣言
 
Public Shared ReadOnly AllowDockingRightProperty As DependencyProperty
public static readonly DependencyProperty AllowDockingRightProperty
使用例
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);
}
<igDock:XamDockManager>
    
<igDock:XamDockManager.Panes>
        
<igDock:SplitPane igDock:XamDockManager.InitialLocation="DockedLeft">
            
<!-- 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.
-->
            
<igDock:ContentPane Header="OnlyLeftOrRight"
                                
AllowDocking="False"
                                
AllowDockingLeft="True"
                                
AllowDockingRight="True" />
            
<!-- the following is equivalent to the version above -->
            
<igDock:ContentPane Header="AlsoLeftOrRight"
                                
AllowDockingTop="False"
                                
AllowDockingBottom="False" />
        
</igDock:SplitPane>
    
</igDock:XamDockManager.Panes>
</igDock:XamDockManager>
参照