10

I know there is a ToolStripSplitButton...

ToolStripSplitButtonWithDropDown

... but is there any way to use that button object without the dropdown arrow to the right of it. Ending up with JUST an image that's a button?

ToolStripSplitButtonWithoutDropDown

Arvo Bowen
  • 4,524
  • 6
  • 51
  • 109

2 Answers2

11

Found it... Set the DropdownButtonWidth to 0...

Arvo Bowen
  • 4,524
  • 6
  • 51
  • 109
  • 2
    I swear sometimes... I stare at something for 10 mins and can not see it... I look on the stack and can't find a quick and simple answer... So I ask it and spend 10 mins asking it... After I'm done I look back to the other monitor and it slaps me in the face... Then I go to answer my own question to help others out... 30 mins later I continue to code... Gezz... – Arvo Bowen Aug 22 '14 at 17:23
  • 2
    I couldn't find this property, but setting "ShowDropDownArrow" to false provided the same effect. – TEK May 16 '15 at 12:20
  • 4
    DropdownButtonWidth for [ToolStripSplitButton](https://msdn.microsoft.com/en-us/library/system.windows.forms.toolstripsplitbutton%28v=vs.110%29.aspx) and ShowDropDownArrow for [toolStripDropDownButton](https://msdn.microsoft.com/en-us/library/system.windows.forms.toolstripdropdownbutton%28v=vs.110%29.aspx) – Repeat Spacer Jun 01 '15 at 12:49
6

Use ToolStripDropDownButton wo dropdown items.

Set ToolStripDropDownButton.ShowDropDownArrow = false;

(I tried a method "Set the DropdownButtonWidth to 0", but to me continues to see several Pixels from black triangle)

NikB
  • 101
  • 3
  • 4