Table of Contents

ExMaskedTextBox

ExMaskedTextBox is a MaskedTextBox that draws its border in its own color, highlighted under the mouse and with focus.

Custom style

Property Description
DefaultStyle true (default) leaves the drawing to Windows, false uses the custom style.
BorderColor, BorderThickness Border of the box.
HighlightColor Border under the mouse and with focus.
DisabledBorderColor Border of a disabled box.

Mask, PromptChar, ValidatingType and the rest of the MaskedTextBox API work as usual.

Theme

BoxBackColor and BoxForeColor color the box, BorderColor the border, HighlightBackColor the border under the mouse and with focus and ButtonBackColor the border of a disabled box.

API