Applying Themes in Windows Forms MaskedTextBox (MaskedEditBox)

9 Dec 2019 / 1 minute to read

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'.


 Refer_ Border Settings _topic to know about the BorderStyle property.

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