This is a migrated thread and some comments may be shown as answers.

Pane Title Foreground

5 Answers 50 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Toby Riley
Top achievements
Rank 1
Toby Riley asked on 29 Jul 2010, 03:33 PM
Hi,

I have recently upgraded to Q2 2010, before I had a Pane where I changed the title text's Foreground colour, but since the upgrade the colour is set to black and I can't find a way to change it?

Thanks.

5 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 03 Aug 2010, 05:01 PM
Hi Tobias Riley,

Thank you for contacting us.

We are aware of this problem with RadDocking control. It is a bug in our docking Theme. In PaneHeaderTemplate in the control template for Header is used ContentControl. You need to changed it to ContentPresenter to apply Foreground property, else it won't get applied. This big will be fix in one of our future releases.

Sorry for any inconvenience caused. I hope this information helps. I will be glad to assist you further.

Kind regards,
George
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
0
Toby Riley
Top achievements
Rank 1
answered on 03 Aug 2010, 05:51 PM
Thanks, but could you post the code please.

I have tried it but it doesn't seem to work.
0
George
Telerik team
answered on 09 Aug 2010, 12:50 PM
Hello Tobias Riley,

 
Attached you can find the sample I made for you. Please, look at lines 1818 and 1867 for the Notes. 

I hope this helps.

Best wishes,
George
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
0
Toby Riley
Top achievements
Rank 1
answered on 09 Aug 2010, 01:14 PM
Thanks for the sample...that was what I tried but didn't ans still doesn't work.

The only thing that I am doing differently is applying my theme like so:
telerik:StyleManager.Theme="{StaticResource MyTheme}"

Could this be the reason why this isn't working?

Thanks again.








0
Dani
Telerik team
answered on 09 Aug 2010, 03:12 PM
Hi Tobias Riley,

Thank you for your feedback. You cannot set the theme as a StaticResource, because you do not have a class with a resource dictionary as a static resource. You have your styles in App.xaml and this is enough for the theme to get applied.

Please, try to remove the telerik:StyleManager.Theme="{StaticResource MyTheme}" and let me know if you are still unable to apply the resources.



Regards,
Dani
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
Tags
Docking
Asked by
Toby Riley
Top achievements
Rank 1
Answers by
George
Telerik team
Toby Riley
Top achievements
Rank 1
Dani
Telerik team
Share this question
or