Mouseover color

Dec 16, 2010 at 8:05 AM

Hi, first all i'd like to congratutate you for this amazing control...

my question is how can i change the color of the menu item when mouse is over...


Thank you

Mar 7, 2011 at 1:47 AM
Edited Mar 7, 2011 at 1:49 AM

You can do this by customizing the existing Control Template for the ItemsControl containing your menu items. Assuming you are using a ListBox for this purpose then the easy way to do this is to fire up Expression Blend, right click a ListBoxItem, go to Edit Control Parts (Template) and select Edit a Copy... then customize the Fill color of the fillColor and fillColor2 rectangles as required.

For more information please check out those tutorials on this topic: