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.
Unfortunately, activation email could not send to your email. Please try again.

GlobelTheme

Thread ID:

Created:

Updated:

Platform:

Replies:

118513 Mar 15,2015 11:03 PM Mar 27,2015 07:39 AM WPF 3
loading
Tags: General
ray
Asked On March 15, 2015 11:03 PM

How can I set Theme like Metro for all controls in my application? 

Bharadhi K [Syncfusion]
Replied On March 18, 2015 01:33 AM

Hi Ray,

Thank you for your interest in Syncfusion products.

We can apply Metro theme to all controls in the application by setting the VisualStyle property defined in the Skin Storage class to the application window or to each control separately. This is applicable for Syncfusion controls and Microsoft controls. For more information on the application of the theme files and to override syncfusion themes, please refer the following link.

Link: http://help.syncfusion.com/ug/wpf/documents/skinmanager.htm

We have also prepared a simple sample. In this sample we have set Metro theme and also used Button, ComboBox and CalendarEdit control in the application. Please find the sample in the following link.

Sample: MetroApplication_118513.zip

Please let us know if our solution fulfills your requirement and if you require further assistance on this.

Regards,
Bharadhi K



ray
Replied On March 26, 2015 03:34 AM

Thanks for the reply.When i have more than one window in my app,i just need set syncfusion:SkinStorage.VisualStyle="Metro" in every window? can i set theme for all windows in my app?

Bharadhi K [Syncfusion]
Replied On March 27, 2015 07:39 AM

Hi Ray,

Query: When i have more than one window in my app,i just need set syncfusion:SkinStorage.VisualStyle="Metro" in every window? can i set theme for all windows in my app?

We have to define the style for each Window separately. The Style will be applied for all the items in the specified Window. When we add a UserControl to the Window, the Style will be applied to it as well.

We have modified the sample to demonstrate this. Please find the sample in the following link.

Sample: MetroApplication_118513.zip

Please let us know if you require further assistance on this.

Regards,
Bharadhi K



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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.

;