We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to override Syncfusion themes?

You can override the themes to the control's style by adding the corresponding ResourceDictionary in the sample and defining the new style with the BasedOn property. When the ResourceDictionary is added, you can acquire all the settings of the base style, and you can override them as desired. Using this approach, you can override the style for all the controls. Here, an example is illustrated to set the HeaderBackground for the TileViewItem by customizing the TileViewItemStyle using the BasedOn property.

Syntax for ResourceDictionary

<ResourceDictionary Source="/Syncfusion.Shared.WPF;component/Controls/<ControlName>/Themes/<StyleName>Style.xaml"></ResourceDictionary>

Step 1: Add the Resource dictionary in App.xaml.


Syntax for BasedOn

BasedOn="{StaticResource <StyleName><ControlName>Style}"

Step 2: Define the new style using BasedOn Property


The following screenshot displays the customization of the theme.

Figure 1: Customized Theme




Article ID: Published Date: Last Revised Date: Platform: Control:
4173 02/26/2015 02/26/2015 WPF TileViewControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon