How can I bind to a model such that Avalon Dock 2 treats it as a floating pane?
In basic terms I want to open a window that can be docked and ideally have a MVVM solution. But the furthest I've been able to get to is to get anchorables and no way I can see to entice the docking manager to make them floating.
<xcad:DockingManager AnchorablesSource="{Binding Tools}">
<xcad:DockingManager.LayoutItemContainerStyle>
<Style TargetType="{x:Type xcad:LayoutItem}">
<Setter Property="Title" Value="{Binding Model.Title}"/>
</Style>
</xcad:DockingManager.LayoutItemContainerStyle>
<xcad:DockingManager.LayoutItemTemplate>
<DataTemplate>
<ContentControl cal:View.Model="{Binding . }" IsTabStop="False" />
</DataTemplate>
</xcad:DockingManager.LayoutItemTemplate>
</xcad:DockingManager>