Applying Themes in Windows Forms MaskedTextBox (MaskedEditBox)

4 Feb 20251 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'.

NOTE

 Refer_ Border Settings _topic to know about the BorderStyle property.

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

Theme applied in Masked TextBox