How to change MenuItem ForeColor?

5 posts, 0 answers
  1. Kevin
    Kevin avatar
    9 posts
    Member since:
    Mar 2009

    Posted 10 Apr 2009 Link to this post

    Hi,
    I want to change the forecolor of menuitem to black instead of the default white color. I've checked on the menuitem property, the forecolor already set to black but how come it still display in white. Please help, thanks.
  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 14 Apr 2009 Link to this post

    Hello Kevin,

    Please accept our apologies for the late response. There is a problem with setting the foreground of the current RadMenuItem version , which will be fixed ASAP. As a workaround you can set explicit header and then set a foreground. Check the code snippet below:

     <telerikNavigatiom:RadMenuItem.Header>
                        <TextBlock Text="Menu 1" Foreground="Black" />                </telerikNavigatiom:RadMenuItem.Header>


    Regards,
    Kaloyan
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
  4. James
    James avatar
    136 posts
    Member since:
    Nov 2008

    Posted 21 Aug 2009 Link to this post

    Hi Kaloyan,

    Just wondering if this has been rectified yet? I'm having problems setting the foreground colour on the RadMenu control. Here's my xaml:

     

     

     

            <telerikNavigation:RadMenu x:Name="radMenuMain"   
                                       Foreground="Purple"   
                                       FontFamily="Verdana" 
                                       VerticalAlignment="Top"   
                                       ClickToOpen="True"   
                                       Grid.Row="0"   
                                       > 

    Except the colour is still black...

    Cheers,
    James.

     

  5. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 24 Aug 2009 Link to this post

    Hello James,

    This is a bug in the Office_* themes. If you use Vista or Summer the Foreground property will work as expected. The fix will be available in the internal build next Friday.

    I apologize for the inconvenience.

    Regards,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. James
    James avatar
    136 posts
    Member since:
    Nov 2008

    Posted 25 Aug 2009 Link to this post

    Ok thanks.
Back to Top
DevCraft banner