Converted Ark response to C #:
public static void HideArrowMargin(this ToolStripDropDownItem tsddi) { tsddi.DropDown.GetType().GetField("ArrowPadding", BindingFlags.NonPublic | BindingFlags.Static).SetValue(null, new Padding(0, 0, -14, 0)); } public static void HideImageMargin(this ToolStripDropDownItem tsddi) { ((ToolStripDropDownMenu)tsddi.DropDown).ShowImageMargin = false; }
Using the extension for it, I can use it in several places:
tsddbWorkflows.HideImageMargin(); tsddbWorkflows.HideArrowMargin();
Edit:
Now I noticed that this is a static field, it removes the addition of an arrow from all controls. So this is also not a worthy solution.
Jaex source share