Layout Settings in Windows Forms NumericUpDown (NumericUpDownExt)

28 Apr 20211 minute to read

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

The size of the NumericUpDownExt control can be set according to the needs of the user using the properties discussed below.

NumericUpDownExt Properties Description
MaximumSize Gets / sets the maximum size for the control.
MinimumSize Gets / sets the minimum size for the control.
this.numericUpDownExt1.MaximumSize = new System.Drawing.Size(60, 50);
this.numericUpDownExt1.MinimumSize = new System.Drawing.Size(60, 50);
Me.numericUpDownExt1.MaximumSize = New System.Drawing.Size(60, 50)
Me.numericUpDownExt1.MinimumSize = New System.Drawing.Size(60, 50)