We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How does the UsageMode property affect the WinForms MaskedEditBox control?

Platform: WinForms |
Control: MaskedEditBox


The UsageMode property modifies the behavior of the MaskedEditBox as detailed below:

Normal mode: When the control is set to UsageMode of Normal, there is no change in the behavior. This is the default mode for a MaskedEditBox control.

Numeric Mode: The control internally creates two data groups when the control has been set to Numeric mode and there is one DecimalSeparator character in the mask. These groups are created such that the first group holds the Mask value before the DecimalSeparator, and the second group holds the Mask value after the DecimalSeparator. For example, if you specify the Mask to be ###.#### the first group will contain the value for the first 3 ### characters of the Mask (the Number group) and the second group (the Decimal group) will contain the 5 characters (.####). The default group alignment for the Number group will be right and the alignment for the Decimal group will be left. Please refer to the information on DataGroups in this section for more information on how this works. The MaxValue and MinValue properties are enforced only when the UsageMode is set to Numeric.

Reference link: https://help.syncfusion.com/windowsforms/maskedtextbox/mode-settings

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile