Let's suppose I have a RadPaneGroup in a WPF view.
Now I want to do this:
var x = new RadPane();
This must be done in the ViewModel NOT code behind.
How do we accomplish that?
1 Answer, 1 is accepted
answered on 24 Mar 2014, 10:00 AM
In order to achieve this scenario in a MVVM friendly approach you can take advantage of the PanesSource property of the control and its DockingPanesFactory. You can create a custom DockingPanesFactory and override its AddPane method in which you can implement a custom logic that adds each RadPane to a specific RadPaneGroup.
You can take a look at this help article that describes in more details how the PanesSource and DockingPanesFactory could be used. Hope this is helpful.