Layout Settings in Windows Forms MaskedTextBox (MaskedEditBox)
3 Sep 2020 / 1 minute to read
The layout settings of the MaskedEditBox control are discussed in this section.
You can set the minimum and maximum size of the MaskedEditBox control by using the MinimumSize and MaximumSize properties.
MaskedEditBox Properties | Description |
---|---|
MaximumSize | Gets / sets the maximum size for the control. |
MinimumSize | Gets / sets the minimum size for the control. |
this.maskedEditBox1.MaximumSize = new System.Drawing.Size(150, 20);
this.maskedEditBox1.MinimumSize = new System.Drawing.Size(150, 20);
Me.maskedEditBox1.MaximumSize = New System.Drawing.Size(150, 20)
Me.maskedEditBox1.MinimumSize = New System.Drawing.Size(150, 20)
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page