You can use LayoutAdapters to place dock panels in existing dock groups, as well as groups that have not yet been created. In this case, you should create the target group before you populate it with panels.
Follow the steps below to use the LayoutAdapter in your application:
- Create a LayoutAdapter class that implements the ILayoutAdapter interface.
- Implement the Resolve method. This method returns the target layout group name for the specified DockLayoutManager and the panel's ViewModel. When you implement the Resolve method, you can perform any action before the target name is returned.
- Assign a LayoutAdapter instance to the DockLayoutManager's MVVMHelper.LayoutAdapter attached property to add the LayoutAdapter to the DockLayoutManager.
- WPF Dock Layout Manager - Bind the View Model Collection with IMVVMDockingProperties
- WPF Dock Layout Manager - Populate a LayoutGroup with the ViewModels Collection
- WPF Dock Layout Manager - Use Services That Implement the IDocumentManagerService Interface
(you will be redirected to DevExpress.com to submit your response)