Articles in this section

How to change the height of the ToolStripProgressBar in a ToolStripEx?

Size

If the ToolStripProgressBar item’s AutoSize property is true, it should set the item’s size to the result from the item.GetPreferredSize. Change the AutoSize property to false and change the height of ToolStripProgressBar through Size property.

C#

this.toolStripProgressBar2.AutoSize = false;
this.toolStripProgressBar2.Size = new System.Drawing.Size(100, 15);

 

VB

Me.toolStripProgressBar2.AutoSize = False
Me.toolStripProgressBar2.Size = New System.Drawing.Size(100, 15)

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied