This project has moved and is read-only. For the latest updates, please go here.

Remove underline from MaskedTextBox

Mar 30, 2011 at 6:46 PM

Does anyone know how to remove the underline from the MaskedTextBox control?  For example if you set the Mask property in XAML to Mask="0000" the control works perfectly but there is a _____ displayed in the control and it looks kind of bad.  Any help would be appreciated.  Thanks!

Mar 30, 2011 at 6:47 PM

Sorry, but currently there is no way to remove it.

Jun 13, 2011 at 8:14 PM

You can now remove the __ character by setting the PromptChar property to an empty space: PromptChar=" "