Hi Alan Lee,
Thank you for your interest in RadDocking.
There are two approaches which you can take:
1. You can set a different DataTemplate
for each RadPane
in XAML only. You can link the DataTemplate you have manually to a particular RadPane as a regular Staticresource in XAML:
2. You can use the HeaderTemplateSelector
property of RadPane which will switch between DataTemplates programatically.
must inherit the DataTemplateSelector
class, which is located in the Telerik.Windows.Controls
assembly. Override the SelectTemplate
method and implement your custom logic in it.
must be defined as a resource in XAML before using it as a property of RadPane.
I hope this information is helpful.
the Telerik team
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 Public Issue Tracking
system and vote to affect the priority of the items