New to Telerik UI for WinForms? Download free 30-day trial

Themes

This help article will demonstrate a step by step tutorial how to customize the ControlDefault theme for RadTextBoxControl.

  1. Open Visual Style Builder
  2. Export the built-in themes in a specific folder by selecting File >> Export Built-in Themes.
  3. Load a desired theme from the just exported files by selecting File >> Open Package.
  4. Expand RadTextBoxControl and select RadTextBoxControlElement and the select the Disabled state in the Element States window. WinForms RadTextBoxControl Visual Style Builder

  5. Open the Edit Repository Item dialog and change the BackColor and the GradientStyle: WinForms RadTextBoxControl Edit Repository Item

  6. Select RadTextBoxControl and change the UseDefaultDisabledPaint property to false. WinForms RadTextBoxControl UseDefaultDisabledPaint False

  7. Go back to RadTextBoxControlElement and change the UseDefaultDisabledPaint for it as well. WinForms RadTextBoxControl Element UseDefaultDisabledPaint False

The following article shows how you can use the new theme: Using Custom Themes.

See Also

In this article