Pane Title Foreground

6 posts, 0 answers
  1. Toby Riley
    Toby Riley avatar
    40 posts
    Member since:
    Aug 2012

    Posted 29 Jul 2010 Link to this post

    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.
  2. George
    Admin
    George avatar
    1332 posts

    Posted 03 Aug 2010 Link to this post

    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
  3. DevCraft banner
  4. Toby Riley
    Toby Riley avatar
    40 posts
    Member since:
    Aug 2012

    Posted 03 Aug 2010 Link to this post

    Thanks, but could you post the code please.

    I have tried it but it doesn't seem to work.
  5. George
    Admin
    George avatar
    1332 posts

    Posted 09 Aug 2010 Link to this post

    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
  6. Toby Riley
    Toby Riley avatar
    40 posts
    Member since:
    Aug 2012

    Posted 09 Aug 2010 Link to this post

    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.








  7. Dani
    Admin
    Dani avatar
    848 posts

    Posted 09 Aug 2010 Link to this post

    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
Back to Top
DevCraft banner