To customize the theme colors and fonts in the application, call RegisterThemeSettings method and pass the theme name and respective theme setting instance as parameters.Įach theme supported by the theme studio has its own theme settings class, which begins with the prefix of the themes’ name. ApplyStylesOnApplication = true Customize theme colors and fonts in the application While applying the theme to a Window or any element, SkinManager inherits the same theme to all its descendants. The theme assemblies have resource dictionaries with styles of controls. Thus, when the Theme property is set, the skin manager merges the theme resource dictionaries of an element to which the theme is applied and its descendants into the resource dictionary of the element to which the theme is applied or. Themes will be applied to both Syncfusion and Framework controls by using Theme attached property of the SfSkinManager. While applying a theme to a Window, SkinManager inherits the same theme to all the elements inside the Window. For example, to apply MaterialDark theme, attach assembly or NuGet reference to the project. To use a theme in the application, add Reference to the corresponding theme assembly. The SfSkinManager supports to apply themes listed in themes list. The following steps will help you to add by XAML Code:ġ) Add a reference to the assembly or nuget package to the project.Ģ) Import Syncfusion WPF schema or the assembly namespace Syncfusion.SfSkinManager into a XAML page. There are several ways for including the Syncfusion SfSkinManager reference in the Visual Studio WPF project. dllĪpply a theme to a control Add SkinManager reference įluentDark, MaterialDark, Office2019Black The following table lists the available themes as well as the assembly or NuGet reference to be used in the application. It is preferable to use Theme Studio-based themes in the application over other themes. Theme Studio-based themes provide improved consistency and uniqueness among various controls when compared to other themes. Some of the built-in themes color derivations can be customized using WPF Theme Studio. There are 27 built-in themes that can be applied using the SfSkinManager for a rich user interface experience. The SfSkinManager helps you to apply the themes for both Syncfusion and Framework controls. Getting Started in WPF Themes (SfSkinManager)