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

How to change MenuItem ForeColor?

4 Answers 94 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 10 Apr 2009, 08:14 AM
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.

4 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 14 Apr 2009, 11:40 AM
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.
0
James
Top achievements
Rank 1
answered on 22 Aug 2009, 12:58 AM
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.

 

0
Valeri Hristov
Telerik team
answered on 24 Aug 2009, 02:17 PM
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.
0
James
Top achievements
Rank 1
answered on 25 Aug 2009, 09:31 AM
Ok thanks.
Tags
Menu
Asked by
Kevin
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
James
Top achievements
Rank 1
Valeri Hristov
Telerik team
Share this question
or