Articles in this section
Category / Section

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

1 min read

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)
Please sign in to leave a comment
Access denied
Access denied