Tuesday, 22 July 2008 04:19 by
Bill Henning
We've been hard at work this past week on adding a bunch of new themes for our WPF Studio v4.0 controls. One area we addressed was adding six new themes for Ribbon for WPF.
|  The new Royale, Luna (olive green), and Classic themes for Ribbon |
The six new themes are:
- Luna (blue)
- Luna (olive green)
- Luna (silver)
- Royale
- Classic
- High-contrast
All the new themes (except high-contrast) still use subtle gradient effects to give the controls depth and look great when used in the appropriate operating system.
Default Theme Changes
Previously we only had the three Office 2007 themes (blue, silver, black) for Ribbon. Windows Vista defaulted to using Office Black while other Windows systems defaulted to using Office Blue. In this new maintenance release, this behavior has changed.
Now when running XP, the appropriate system-based theme will be automatically chosen instead of Office Blue. Windows Vista will still use the Office Black since that matches Aero color schemes.
To continue using the Office Blue theme in XP, set our ThemeManager.CurrentTheme = "Office2007Blue";
High-Contrast Theme
The High-contrast theme is designed to only be used in high-contrast color schemes. When you detect a high-contrast theme is active, set our ThemeManager.CurrentTheme = "HighContrast"; and that will activate the theme.