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. Image for the cookie policy date
close icon

How to set and user-change visual theme of the application?

We are using syncfusion:RibbonWindow as the main window of the application, several other standard windows, for separate dialogs and warning messages etc. and some own user controls.

We would like to set a theme that would be applied  on ALL parts of the application and could be change by user in the running application. 

Right now we have following code  in the app.xaml file:
<Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary                     Source="/syncfusion.Shared.WPF;component/SkinManager/Office2010SilverStyle.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>

and this in heading of the main window:
....
syncfusion:SkinStorage.VisualStyle="Office2010Silver"
....

This sets the Office2010Silver theme for the main window and for most of its parts right. But for other windows the style is not applied well (for example they have white background and the buttons have standard WPF style.

Is there a way to set the theme for all parts of the application and change it by one user request?


1 Reply

AX Antony Xavier D Syncfusion Team October 5, 2012 06:58 AM UTC

Hi Jaroslav,

We are not providing the skin support for standard windows. So we recommend to use the Chromeless Window instead of standard window and the Chromeless Window has complete skin support.

We have prepared a sample based on your requirement in that we have applied the styles for Chromeless Window and Ribbon Window.

Please find the sample attached,

Regards,

Antony.



VisualStyleSample_6d6f0780.zip

Loader.
Live Chat Icon For mobile
Up arrow icon