What is the mask for “percentage“, in a WinForms application (VB.net)?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Per the documentation here: http://msdn.microsoft.com/en-us/library/system.windows.forms.maskedtextbox.mask.aspx
So the mask for a % sign is \%
Before posting, I made up a quick and dirty winforms app, tried it and it works.
Edit – added although this next item in the documentation makes it look like just a straight % sign should work without the backslash, so I tried it and it works as well.