Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

RadPanes lose their DataTemplate when it moves from being docked to floating

$
0
0
Hi Eric,

When a Pane goes floating it is placed in another window that is not in the same visual tree as the Docking control. So, if the DataTemplates are placed in the MainWindow.Resources (that seems to be case in your scenario based on the provided code - snippets and description) they wont' be applied for the floating Panes (they are in another Windows). Please, define the DataTemplates in the App.xaml file, so they could be applied for all the Panes as expected when they become floating and are placed in another window.

Please, give a try to the proposed above approach and let us know if it worked for you.

Hopes this helps.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>