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?
Simpal and Sort way is below: Create an ItemsPanelTemplate resource
Add below MenuItem style to resources and you are done.
To apply same Style to a ContextMenu, you need to create one more Style as following-
also above of that for context menu you have to add
so it will override icon space and show case textblock.It is the simple and most easy solution.