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)