Reputation: 3459
I'm having a little trouble styling the context-menu-like control that drops down when you click on a MenuItem
. I tried styling ContextMenu
, but I guess they aren't the same control because it only affected the actual context menu. So I was wondering how I would access the list of MenuItems, like what TargetType
it is or if I have to access it some other way. I also tried styling HeaderedContentControl
, which didn't appear to change anything.
Upvotes: 1
Views: 3379
Reputation: 4919
You will need to modify the MenuItem
ControlTemplate
. There is an example on MSDN that should serve as a good starting point.
MenuItem ControlTemplate Example
Upvotes: 1