Hi Telerik support team,
I am trying to set margin between headers in RadDocking control, I tried to create a style that target PaneHeader but nothing happened.
I also, tried to override the HeaderTemplate of RadPane but also not worked.
Please show me the easiest way to do that.
Thanks,
Akram
I am trying to set margin between headers in RadDocking control, I tried to create a style that target PaneHeader but nothing happened.
I also, tried to override the HeaderTemplate of RadPane but also not worked.
Please show me the easiest way to do that.
Thanks,
Akram
5 Answers, 1 is accepted
0
Hi Akram,
In order to customize the header margins you should modify the PaneHeaderStyle of RadDocking control. It would be great if you give it a try and let us know if everything work as expecting.
I hope it helps.
Regards,
Masha
Telerik
In order to customize the header margins you should modify the PaneHeaderStyle of RadDocking control. It would be great if you give it a try and let us know if everything work as expecting.
I hope it helps.
Regards,
Masha
Telerik
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0

Akram
Top achievements
Rank 1
answered on 20 Jun 2013, 07:34 PM
Hi
I don't find this property inside RadDocking, please let me know where i can find it?
Thanks,
Akram
I don't find this property inside RadDocking, please let me know where i can find it?
Thanks,
Akram
0
Hi Akram,
I've demonstrated approach in the attached project. PaneHeaderStyle is a separate style which is responsible for PaneHeaders. You can take style and resources for RadDocking theme from the RadControls installation folder on your machine. Inside that folder you will find the ThemesImplicit folder which contains all themes resources.
I hope it helps.
Regards,
Masha
Telerik
I've demonstrated approach in the attached project. PaneHeaderStyle is a separate style which is responsible for PaneHeaders. You can take style and resources for RadDocking theme from the RadControls installation folder on your machine. Inside that folder you will find the ThemesImplicit folder which contains all themes resources.
I hope it helps.
Regards,
Masha
Telerik
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0

Akram
Top achievements
Rank 1
answered on 25 Jun 2013, 11:07 AM
Hi
Thanks for the example, but i was asking about setting margin between pane headers. (Not Titles)
Please see the attached image
Thanks for the example, but i was asking about setting margin between pane headers. (Not Titles)
Please see the attached image
0
Hello Arakm,
In that case you need to modify the RadPaneStyle. Simply replace the style of PaneHeader in my previous example with this:
I hope this helps.
Regards,
Masha
Telerik
In that case you need to modify the RadPaneStyle. Simply replace the style of PaneHeader in my previous example with this:
<
Style
TargetType
=
"telerik:RadPane"
BasedOn
=
"{StaticResource RadPaneStyle}"
>
<
Setter
Property
=
"Margin"
Value
=
"2 0 0 0"
/>
</
Style
>
I hope this helps.
Regards,
Masha
Telerik
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 >>
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 >>