dotnetmonitor.com

 
Index
Previous
Next

 

Set up a binding to the Text property and then set a mask that will match your datas constraints.

 

If there are optional characters in the data, youll need to setup the FormatString on the Texts Binding object to always fill out those optional characters.

How can I use the MaskedTextBox to tell if a date is between a certain range?
How do I make the MaskedTextBox always overwrite like in Access?
How can I tell if the MaskedTextBox is in insert mode?
How can I access the pre-defined masks from other cultures?
How can I create a custom mask type that shows up in the Mask picker dialog in VS?