WPF - How to style the menu control to remove the left margin?

后端 未结 9 1505
余生分开走
余生分开走 2021-02-04 08:41

I have added a default menu control to my user control. I need to style the menu to remove the left margin containing the space for the icon or checkbox. How can I do this?

9条回答
  •  北恋
    北恋 (楼主)
    2021-02-04 09:25

    I was working with WPF Notifyicon (hardcodet) and removed the icon section of the menu with this code:

    
       
          
             
          
       
       
          ...
          
             
                
             
             
          
          ...
       
    
    

提交回复
热议问题