Articles in this section
Category / Section

How to trim the additional spaces present in the mask in WinForms MaskedEditBox?

1 min read

Behavior settings

Set the PaddingCharacterInt property to 0 using code like:

C#

MaskedEditBox.PaddingCharacterInt = 0;

This will trim the additonal spaces present in the mask.

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

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied