Themes allow you to easily customize your UI controls with a professional, cohesive style with minimum work. They can also allow you to copy a familiar visual style such as that of Microsoft Office which can make the user experience much better.
ComponentOne WPF Edition ships with 21 professional themes. These themes have many inspirations including Microsoft Office, Expression Blend, the Silverlight toolkit themes as well as Modern UI:
The 21 Themes in WPF:
- Office 2016 White
- Office 2016 Colorful
- Office 2016 Dark Gray
- Office 2016 Black
- Office 2013 White
- Office 2013 Light Gray
- Office 2013 Dark Gray
- Office 2010 Blue
- Office 2010 Black
- Office 2010 Silver
- Office 2007 Blue
- Office 2007 Black
- Office 2007 Silver
- Bureau Black
- Cosmopolitan (Metro)
- Cosmopolitan Dark
- Expression Dark
- Expression Light
- Shiny Blue
- Whistler Blue
You can also create your own custom themes.
These themes not only apply to ComponentOne controls, but they also apply the standard controls. You can apply themes in your app in several different ways. In XAML, the following approach will apply a theme to all child elements:
<c1:C1ThemeExpressionDark> <!--child elements--> </c1:C1ThemeExpressionDark>
This can also be done in C# code using the ApplyTheme method. This is useful if you need a theme set to just one page or one control and its children.
C1.WPF.Theming.C1Theme.ApplyTheme(FrameworkElement element, ResourceDictionary value);
Or the most common scenario is to apply a theme to the entire app by adding it to the application's Merged Dictionaries:
Application.Current.Resources.MergedDictionaries. Add(C1Theme.GetCurrentThemeResources(new C1.WPF.Theming.BureauBlack.C1ThemeBureauBlack()));
Note that this method works only when you apply a theme the first time. If you change to another theme at run-time, you should first remove the previous theme from Application.Current.Resources.MergedDictionaries.
What's the C1Blue Theme?
The C1Bue theme has been named the ComponentOne blue theme is the classic C1 theme originally used in all Component XAML controls. If you wish to keep this classic look and feel, you can accomplish so by using the C1Blue theme with any of the approaches described above.
ComponentOne Studio Theme Wrap-up
Theming is available throughout the ComponentOne Studio suite and gives you a variety of styles appropriate to many platforms (such as Material Design inspired styling on mobile), and also it also includes professional color palettes that you can use in conjunction with the theming capabilities to maximize the appeal of the applications you design.
Try ComponentOne Studio Download the latest version of ComponentOne Studio Enterprise
Try ComponentOne Studio
Download the latest version of ComponentOne Studio EnterpriseDownload Now!