How to change the background color of menu items?

Aug 7, 2010 at 12:45 AM


Setting the background property doesn't seem to change the background color.

           <my:MenuBarItem MenuText="Test" Background="Yellow">

Is there a different way to change the background color?

Thank you in advance for your help.



Sep 29, 2010 at 6:13 PM

Hi peter, did u solve this problem?

i tried to chance the backgorund and fails me too!


The key is change Fill="#FF8A8C8C" in generic.xaml in the source code, but i would like to get the dll =) and set the generic properties



Oct 28, 2010 at 9:36 PM

Yes, you need to change it in the generic.xaml. Please look at the sample solution for the templated menu. It should be in the download.

Dec 20, 2011 at 5:54 PM

can anyone tell me how to change the styles for this menu control?

I tried giving Background="Red" but of no use.

In which section of generic page doi need to change the fill property??

Jan 4, 2012 at 7:39 AM

I made some major design changes to this control and attached the updated source under the newest issue "Bug Fixes and Feature Updates" under issue tracker for this control Dec 15, 2011. I am hoping the author will update the control.

In any case, my post has the full source code of the modification and a new theme, with a screen capture to see. Maybe that will help you get the style changes.

The attached code has many more features added to the control so take a look.  Hope it helps.