I know there is a ToolStripSplitButton...
... 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?
Once a control is created, we need to set its properties and call Form.Controls.Add method to add the StatusStrip control to a Form's controls. The StatusStrip class is inherited from the ToolStrip ->ScrollableControl->Control classes and hence has all of the common properties supported by a Windows Forms control.
Typically, a StatusStrip control consists of ToolStripStatusLabel objects, each of which displays text, an icon, or both. The StatusStrip can also contain ToolStripDropDownButton, ToolStripSplitButton, and ToolStripProgressBar controls. The default StatusStrip has no panels.
The StatusStrip control is much more powerful than the StatusBar control in the previous versions of Windows Forms. The StatusStrip control can not only display the text status in the status bar area but also allows us to host other child controls such as a DropDownMenu, ProgressBar, and a SplitButton.
StatusStrip In C#. A typical status bar control, placed on the bottom of a Form is used to display some text that represents a status of the application and user actions. In the previous versions of the Windows Forms, the StatusBar control is used to provide the status bar functionality.
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)
Found it... Set the DropdownButtonWidth to 0...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With