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

Styling the RadButton

The RadButton can be styled by creating an appropriate Style (or use Implicit Style) and setting it to the Style property of the control.

Create an empty implicit style and set it up on your own

Example 1: Create custom implicit style


<!-- if you use NoXaml dlls, set the following property on the Style object: BasedOn="{StaticResource RadButtonStyle}" -->

Edit the default template of the control

If you prefer, you can manually extract the needed style from the respective XAML file in the Themes.Implicit folder of your Telerik UI installation and modify its code to suit your needs.

If you choose to define the style in the App.xaml file, it would be available for the entire application. This allows you to define a style only once and then reuse it where needed.

Note that when changing a ControlTemplate you should include all required parts. Even if your code compiles, some of the functionality may be impacted due to the omission of the required parts. The required parts are usually marked with the prefix "PART_".

See Also

In this article