This project is read-only.

[Version 2.0] Dynamic layout deserialization

Dec 15, 2013 at 1:17 PM
Hello. I faced with problem when deserializing layout.
I`ve added template selector to resolve view for viewmodel witch was added:
        <avalonDock:DockingManager.LayoutItemTemplateSelector>
            <avalonDock1:LayoutItemViewResolver>
                <avalonDock1:LayoutItemViewResolver.Template>
                    <DataTemplate>
                        <ContentControl Content="{Binding Mode=OneWay, Converter={catel:ViewModelToViewConverter}}" />
                    </DataTemplate>
                </avalonDock1:LayoutItemViewResolver.Template>
            </avalonDock1:LayoutItemViewResolver>
        </avalonDock:DockingManager.LayoutItemTemplateSelector>
And when i deserializating layout this is not using so i dont have any controls after load layout.
How can i solve this?