Layout Settings in Windows Forms TextBox (TextBoxExt)

29 Apr 20211 minute to read

The layout settings of the TextBoxExt control are discussed in this section.

You can set the maximum or minimum size of WF TextBoxExt control by using MaximumSize and MinimumSize properties.

this.textBoxExt1.MaximumSize = new System.Drawing.Size(150, 20);
this.textBoxExt1.MinimumSize = new System.Drawing.Size(150, 20);
Me.textBoxExt1.MaximumSize = New System.Drawing.Size(150, 20)
Me.textBoxExt1.MinimumSize = New System.Drawing.Size(150, 20)

Change the layout of WF TextBoxExt control