Are there any blogs or articles about using AvalonDock with Caliburn Micro MVVM? Didn't find much when Googling
http://avalondock.codeplex.com/
edit: Got an up vote so why not update with a final solution. Full code can be found here
https://github.com/AndersMalmgren/FreePIE
Most of the avalon related code is found here
https://github.com/AndersMalmgren/FreePIE/blob/master/FreePIE.GUI/Shells/MainShellView.xaml
Update after Sam's answer
Its very, very little that needs to be done to enable Caliburn. First implement a LayoutItemTemplateSelector
public class AutobinderTemplateSelector : DataTemplateSelector
{
public DataTemplate Template { get; set; }
public override DataTemplate SelectTemplate(object item, DependencyObject container)
{
return Template;
}
}
And use it together with the content control and Caliburns View.Model attach mechanism like
<xcad:DockingManager.LayoutItemTemplateSelector>
<avalonDock1:AutobinderTemplateSelector>
<avalonDock1:AutobinderTemplateSelector.Template>
<DataTemplate>
<ContentControl cal:View.Model="{Binding . }" IsTabStop="False" />
</DataTemplate>
</avalonDock1:AutobinderTemplateSelector.Template>
</avalonDock1:AutobinderTemplateSelector>
</xcad:DockingManager.LayoutItemTemplateSelector>