In order to create a conditional docking in the RadDocking control you will need to customize the way the docking compasses are shown. Yo can do that by handling the PreviewShowCompass
event of the control which is fired when a Pane is made floating and the compasses needs to be shown. You can check our online demo
that shows how to customize the showing of the compasses, and this
help article for more details.
I created a sample project for you that shows a possible approach of achieving the desired behavior. In the example I have added some comments on specific important parts in the code, hope this is helpful. In the sample project the "Green" Panes can be docked only inside other Panes of the same type and the "Purple" Panes can be docked inside and on the top, bottom, left or right sides of other Panes of the same type.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>