Applying Themes in Windows Forms MaskedTextBox (MaskedEditBox)

15 Jun 20211 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

Theme applied in Masked TextBox