WPF windows as a child ContentControl of dockingmanager is possible?

I'm new in wpf and dockingmanager, I have played with the demo code. I've an existing application in WPF(not MVVM), with 3 window; There is a way to use theme as child content for the dockingmanager( that I will place in another main window)?



13 Replies

SN Sudharsan Narayanan Syncfusion Team September 14, 2021 04:11 AM UTC

Hi Matteo,

We're not sure what you're trying to accomplish with the window as a child's content in Docking Manager or any UIElement as a child. If yes, you are using the window as child content in Docking manager. It is not possible to use as child in any component in MS control. If we are misunderstood the query, Please share more details about the query that you trying to achieve in Docking Manager.

Regards,
 
Sudharsan


MA Matteo September 15, 2021 11:57 AM UTC

The best practice for docking manager is to fill it with user control or pages? I've seen both in the examples published in this forum.



SN Sudharsan Narayanan Syncfusion Team September 17, 2021 03:45 AM UTC

Hi Matteo,

In DockingManager, We can use the child control as ContentControl, UserControl or any control. We have prepared the sample for the docking manager. Please find the sample from the below,

Sample: https://www.syncfusion.com/downloads/support/forum/168765/ze/SampleDM-33748198

Regards,
 
Sudharsan


MA Matteo September 17, 2021 07:09 AM UTC

This is very usefull form thanks.

Can I ask if you have the same sample using Caliburn Micro MVVM but in vb.net? I'm new in MVVM, and I've tryed to port one example that I founded in the forum but without luck, if there is a very simple(only one or two child) sample of WPF docking manager with caliburn micro in vb.net, it would be wonderful.



SN Sudharsan Narayanan Syncfusion Team September 21, 2021 03:42 AM UTC

Hi Matteo,

We have prepared the sample for the docking manager caliburn MVVM for your request in the last update. Please find the sample from the below location,

Sample: https://www.syncfusion.com/downloads/support/forum/168765/ze/DockingManagerMVVMCaliburnDemo1120660473

Regards,
 
Sudharsan


MA Matteo September 29, 2021 08:21 AM UTC

<p>Thanks, but I'm working in VB.NET, not c#, I've tryed to translate it to vb.net myself, but I can't translate this: AdapterDockingManager = (((App.Current.MainWindow as ShellView).Docking.Content as DockingAdapterView).DockingAdapter.Content as Grid).Children[0] as Syncfusion.Windows.Tools.Controls.DockingManager;


from dockingmanagerviewmodel.cs</p>



MA Matteo September 29, 2021 08:48 AM UTC

Can you provide an example in VB.net with using caliburnmicro with simple container, please?



SN Sudharsan Narayanan Syncfusion Team September 30, 2021 11:58 AM UTC

Hi Matteo,

Thanks for the update,

As per request one, We have prepared the sample in VB.net. So please find it from the below location,

Sample: https://www.syncfusion.com/downloads/support/forum/168765/ze/DockingManagerMVVMCaliburnDemo1928055235


Please check the sample and let me know your concerns. We are happy to assist you.


Regards,
 
Sudharsan


MA Matteo October 11, 2021 07:17 PM UTC

I tryed it but I get may errors, nevermind.

My team won't use caliburnmicro anymore since will not developped anymore, it's dockingmanager compatible with Stylet MVVM framework?



MA Matteo October 12, 2021 08:21 AM UTC

Maybe you have a code sample?



SN Sudharsan Narayanan Syncfusion Team October 13, 2021 03:52 AM UTC

Hi Matteo,

We have checked the reported query that “Caliburn Micro sample not runnable” from our end. As per you request the DockingManager style MVVM sample given below for the reference, Please find the sample from the below location,

Sample: https://www.syncfusion.com/downloads/support/forum/168765/ze/working-with-wpf-docking-manager-and-mvvm-master-401555096

Regards,
 
Sudharsan


MA Matteo January 30, 2022 02:28 PM UTC

Hello, I'm struggling to implement docking manager with this MVVM framework:https://github.com/canton7/Stylet, that you already see in other my samples.

Can you provide a sample in VB.NET( .NET CORE) using the framework that I've linked ( https://github.com/canton7/Stylet), with only 2 empty child window( one with red background and one with green), WITHOUT using other library like Microsoft.Practices.Composite.dll.


please?
Regards


SN Sudharsan Narayanan Syncfusion Team February 1, 2022 04:16 AM UTC

Hi Matteo,

As per request one, We have prepared the sample in VB.net for DockingManager MVVM framework. So please find it from the below location,

Sample: https://www.syncfusion.com/downloads/support/forum/168765/ze/DockingManagerVB-212799357


Please check the sample and let me know your concerns. We are happy to assist you.


Regards,
Sudharsan


Loader.
Up arrow icon