Web or Windows app?
It really doesn't seem to make any difference from a cursory review of the
parent classes.
I believe you'll have to write your own "input mask" in code. Try looking
for the term "regular expression" in the .NET Framework help. This should
give you a start.