how to change font colot of ribbon rab text.

2 posts, 0 answers
  1. raj
    raj avatar
    31 posts
    Member since:
    Jul 2011

    Posted 12 Dec 2011 Link to this post

    I am using Ribbon control and i have changed the theme, for the selected tab item font will be black with white background and for un selected tab i want to display text in white color at present it is in black, how can i change it ?
    please check the attached screen shot and please look at red marked are.

    thanks in advance.
  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 15 Dec 2011 Link to this post

    Hi Raj,

    You can edit the default ControlTemplate of the RadRibbonTab control. You can follow this approach. Then you can set a White Foreground property to the HeaderElement and change this value in the Selected VisualState:
    <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderElement"
        <DiscreteObjectKeyFrame KeyTime="0" Value="Black" />
    I attached a sample project to get you started. Please let me know if it helps.

    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top