Sir,
In my windows application, I need to remove image margin from all items and sub items in a menu strip. Thanks in advance.
Try This
foreach (ToolStripMenuItem menuItem in menuStrip1.Items) ((ToolStripDropDownMenu)menuItem.DropDown).ShowImageMargin = false;
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.