How to make the MaskedTextBox only accept HEX value?

Posted by Carlos_Liu on Stack Overflow See other posts from Stack Overflow or by Carlos_Liu
Published on 2010-04-01T06:49:37Z Indexed on 2010/04/01 6:53 UTC
Read the original article Hit count: 512

Filed under:
|

I need a control that only accept HEX value in the following format:

xxxx-xxxx and x is in 0-9, a-f, A-F

So I add a MaskedTextBox and try to edit its Mask property, but did not succeed.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about controls