Hello.
Could you help to resolve my issue. My application is similar VS. I have panes like Project Explorer, Database Explorer etc. All those panes are not in DocumentHost. DocumentHost is empty by default (see code):
So, you can see the content of DocumentHost is binded to property in my viewmodel. When I try to save layout all document panes are included too into xml, but I do not need them. And after, when I try to load back my layout the Documents pane are restoring too with no content (just empty).
How to supress loading DocumentHost when restoring layou?
Thanks in advance!
Could you help to resolve my issue. My application is similar VS. I have panes like Project Explorer, Database Explorer etc. All those panes are not in DocumentHost. DocumentHost is empty by default (see code):
<
telerikDocking:RadDocking.DocumentHost
><
br
>
<
telerikDocking:RadSplitContainer
x:Name
=
"selectedItemBinder"
><
br
>
<
b
><
telerik:RadPaneGroup
DataContext
=
"{Binding Panes}"
x:Name
=
"radPaneGroup"
SelectedItem
=
"{Binding ElementName=selectedItemBinder, Path=DataContext.SelectedPane, Mode=TwoWay}"
local:RadPaneExtension.ItemsSource
=
"{Binding}"
/></
b
><
br
>
</
telerikDocking:RadSplitContainer
><
br
>
</
telerikDocking:RadDocking.DocumentHost
>
So, you can see the content of DocumentHost is binded to property in my viewmodel. When I try to save layout all document panes are included too into xml, but I do not need them. And after, when I try to load back my layout the Documents pane are restoring too with no content (just empty).
How to supress loading DocumentHost when restoring layou?
Thanks in advance!