Layout Settings in Windows Forms NumericUpdown
18 Nov 20181 minute to read
The layout settings of the NumericUpdown control are discussed in this section.
The size of the NumericUpdown control can be set according to the needs of the user using the properties discussed below.
| NumericUpdown 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)