Content Control not visible in DockingManager when using MVVM light framework.
Hello all,
I was just reading through the documentation for the DockingManager, and creating an application at the same time. I started from a MVVM Light template.
Once I paste the folllowing code in
<syncfusion:DockingManager x:Name="SyncDockingManager" UseDocumentContainer="True">
<ContentControl syncfusion:DockingManager.Header="Solution Explorer"
syncfusion:DockingManager.SideInDockedMode="Right" x:Name="SolutionExplorer"/>
<ContentControl x:Name="ToolBox" syncfusion:DockingManager.Header="Toolbox" syncfusion:DockingManager.State="AutoHidden" />
<ContentControl x:Name="Properties" syncfusion:DockingManager.Header="Properties" syncfusion:DockingManager.State="Float" />
<ContentControl syncfusion:DockingManager.Header="Output"
syncfusion:DockingManager.SideInDockedMode="Tabbed"
syncfusion:DockingManager.TargetNameInDockedMode="SolutionExplorer"/>
<ContentControl x:Name="StartPage" syncfusion:DockingManager.Header="Start Page" syncfusion:DockingManager.State="Document"/>
</syncfusion:DockingManager>
The "Start Page" Content Control is not visible, either at design time, or run time. However, if I don't use the MVVM Light template it's visible.
Anybody know what the issue could be?
Thanks.
Thank you for contacting Syncfusion support.
We were unable to reproduce the reported "Content control is not visible while using MVVM Light Template" issue in DockingManager. We have prepared DockingManager sample using MVVM Light Template. Please download the sample from the following location.
Sample:
DockingManager_MVVMLight
If the issue persists from your side, please get back to us with more details about the issue and a sample to reproduce the issue. This would help us to provide the solution at the earliest.
Regards,
Durga S.
Hi, mabe it would be possible to build a MVVM Light example, creating the same Application as stated here: https://help.syncfusion.com/wpf/dockingmanager/pattern-and-practices#mvvm, and add it to your documentation? That would help many people out there, I guess. :)
- 3 Replies
- 3 Participants
-
ZE Zeljko
- Mar 22, 2017 04:16 PM UTC
- Sep 28, 2017 12:27 PM UTC