Applying Themes in Windows Forms MaskedTextBox (MaskedEditBox)

Themes can be applied to the MaskedEditBox control using the property given below.

MaskedEditBox Property Description
ThemesEnabled Specifies whether or not to use XP themes when BorderStyle property is set to 'Fixed3D'.

NOTE

 Refer_ Border Settings _topic to know about the BorderStyle property.

this.maskedEditBox1.ThemesEnabled = true;
Me.maskedEditBox1.ThemesEnabled = true