C
C#8mo 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
nohopestage8mo ago
You need a custom MenuItem style
Donut5162
Donut51628mo 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
nohopestage8mo ago
Actually the white edges seem to be part of the context menu itself now that I look at it closer
nohopestage
nohopestage8mo 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.