Contextmenu ItemsPresenter magin

patrick

Well-known member
Joined
Dec 5, 2021
Messages
307
Programming Experience
1-3
Hello

This is WPF Contextmenu...

I have a question about reducing the margins on the menu.

I want to reduce the margin of ItemsPresenter to (0,0,0,0)
contextmenu7_thumb_1.jpg



To explain in more detail:
I want to reduce the margin of [ Int Grid ] to (0,0,0,0)
contextmenu8_thumb.jpg


As you can see in the image above, the MenuItem is made of a grid with 4 columns. The first column is reserved for the Icon object, the second for the vertical separator and the third column contains the Header object. The fourth and last column serves as spacer.


Please Help me

Please Help Me.....
 

Attachments

  • contextmenu8_thumb (1).jpg
    contextmenu8_thumb (1).jpg
    16.9 KB · Views: 0
Back
Top Bottom