バージョン

FloatingLocationProperty フィールド

FloatingLocation 添付依存プロパティを識別します
シンタックス
'宣言
 
Public Shared ReadOnly FloatingLocationProperty As DependencyProperty
public static readonly DependencyProperty FloatingLocationProperty
使用例
Imports Infragistics.Windows.DockManager

Private Sub InitializeDockManager(ByVal dockManager As XamDockManager)
    Dim splitFloatDock As New SplitPane()
    XamDockManager.SetInitialLocation(splitFloatDock, InitialPaneLocation.DockableFloating)

    ' the FloatingSize and FloatingLocation attached properties can be used 
    ' to get/set the position of a floating split pane - whether it is dockable 
    ' or not. 
    ' 
    XamDockManager.SetFloatingLocation(splitFloatDock, New Point(100, 100))
    XamDockManager.SetFloatingSize(splitFloatDock, New Size(350, 200))
    Dim cpInFloatDock As New ContentPane()
    cpInFloatDock.Header = "Floating Dockable"
    cpInFloatDock.Content = New RichTextBox()
    splitFloatDock.Panes.Add(cpInFloatDock)

    Dim splitFloatOnly As New SplitPane()
    XamDockManager.SetInitialLocation(splitFloatOnly, InitialPaneLocation.FloatingOnly)
    XamDockManager.SetFloatingLocation(splitFloatOnly, New Point(500, 400))
    XamDockManager.SetFloatingSize(splitFloatOnly, New Size(350, 200))
    Dim cpInFloatOnly As New ContentPane()
    cpInFloatOnly.Header = "Floating Only"
    cpInFloatOnly.Content = New RichTextBox()
    splitFloatOnly.Panes.Add(cpInFloatOnly)

    dockManager.Panes.Add(splitFloatDock)
    dockManager.Panes.Add(splitFloatOnly)
End Sub
using Infragistics.Windows.DockManager;

private void InitializeDockManager(XamDockManager dockManager)
{
	SplitPane splitFloatDock = new SplitPane();
	XamDockManager.SetInitialLocation(splitFloatDock, InitialPaneLocation.DockableFloating);

	// the FloatingSize and FloatingLocation attached properties can be used
	// to get/set the position of a floating split pane - whether it is dockable
	// or not.
	// 
	XamDockManager.SetFloatingLocation(splitFloatDock, new Point(100, 100));
	XamDockManager.SetFloatingSize(splitFloatDock, new Size(350, 200));
	ContentPane cpInFloatDock = new ContentPane();
	cpInFloatDock.Header = "Floating Dockable";
	cpInFloatDock.Content = new RichTextBox();
	splitFloatDock.Panes.Add(cpInFloatDock);

	SplitPane splitFloatOnly = new SplitPane();
	XamDockManager.SetInitialLocation(splitFloatOnly, InitialPaneLocation.FloatingOnly);
	XamDockManager.SetFloatingLocation(splitFloatOnly, new Point(500, 400));
	XamDockManager.SetFloatingSize(splitFloatOnly, new Size(350, 200));
	ContentPane cpInFloatOnly = new ContentPane();
	cpInFloatOnly.Header = "Floating Only";
	cpInFloatOnly.Content = new RichTextBox();
	splitFloatOnly.Panes.Add(cpInFloatOnly);

	dockManager.Panes.Add(splitFloatDock);
	dockManager.Panes.Add(splitFloatOnly);
}
<igDock:XamDockManager>
    
<igDock:XamDockManager.Panes>
        
<!-- Floating dockable panes can be docked or docked with -->
        
<!-- the FloatingSize and FloatingLocation attached properties can be used
             to get/set the position of a floating split pane - whether it is dockable
             or not. 
-->
        
<igDock:SplitPane igDock:XamDockManager.InitialLocation="DockableFloating"
                          
igDock:XamDockManager.FloatingLocation="100, 100"
                          
igDock:XamDockManager.FloatingSize="350,200">
            
<igDock:ContentPane Header="Floating Dockable">
                
<RichTextBox />
            
</igDock:ContentPane>
        
</igDock:SplitPane>
        
        
<!-- Floating Only panes cannot be docked with other panes -->
        
<igDock:SplitPane igDock:XamDockManager.InitialLocation="FloatingOnly"
                          
igDock:XamDockManager.FloatingLocation="500, 400"
                          
igDock:XamDockManager.FloatingSize="350,200">
            
<igDock:ContentPane Header="Floating Only">
                
<RichTextBox />
            
</igDock:ContentPane>
        
</igDock:SplitPane>
    
</igDock:XamDockManager.Panes>
</igDock:XamDockManager>
参照