C
C#14mo ago
Donut5162

Changing color of MenuItem

How do I change the white color around each MenuItem to black? I have tried changing styles for ContextMenu and it didn't work
No description
4 Replies
nohopestage
nohopestage14mo ago
You need a custom MenuItem style
Donut5162
Donut5162OP14mo ago
I changed the background of MenuItem and that's how i got what's in the screenshot above it doesnt do the edges
nohopestage
nohopestage14mo ago
Actually the white edges seem to be part of the context menu itself now that I look at it closer
nohopestage
nohopestage14mo ago
ContextMenu Styles and Templates - WPF .NET Framework
Learn about ContextMenu styles and templates. You can modify the default ControlTemplate to give the control a unique appearance.

Did you find this page helpful?