Scheduler Components and Controls > Scheduler for Silverlight Appearance > C1Scheduler WPF Themes |
There are many options when it comes to setting themes for C1Scheduler. Themes can be set at design time, in XAML using the ResourceID, in code using the C1SchedulerResources static fields, or you can define a ResourceDictionary and DefaultTheme key in your Page, Window, or Application resources. The most common user interface properties of the C1Scheduler control, such as border and background brushes, default styles, and so on are defined in theme ResourceDictionaries.
C1Scheduler includes seven predefined themes.
C1Scheduler Themes |
Example |
Dusk Blue |
|
Dusk Green |
|
Media Player |
|
Office 2007 Default (Office 2007 Blue) |
|
Office 2007 Black |
|
Office 2007 Blue |
|
Office 2007 Silver |
|
Vista |
|
The tables below list the name of the .xaml file that contains the theme definition, the C1SchedulerResources static fields that can be used to set the theme, the ResourceIDs that can be used to set the theme, and a description of each theme.
Note: By default, the themes are installed in the folder specified below within the C:\Program Files\ComponentOne\WPF\C1WPFNewSchedule\XAML\themes\SchedulerThemes folder. |
Office 2007 Themes
The following themes are in the Office2007 folder.
Theme File |
Static field of C1SchedulerResources class |
ResourceID |
Description |
Default.xaml |
Office2007Default |
Office2007.Default |
Office 2007 Default theme. It uses semi-transparent colors, allowing you to changes the control's palette by changing the Background property. This file contains the full definition of Office 2007 styles and templates which are used by other Office 2007 themes. |
Black.xaml |
Office2007Black |
Office2007.Black |
Office 2007 Black theme. |
Blue.xaml |
Office2007Blue |
Office2007.Blue |
Office 2007 Blue theme. This file contains full definition of Office 2007 styles and templates which are used by other Office 2007 themes. |
Silver.xaml |
Office2007Silver |
Office2007.Silver |
Office 2007 Silver themes. |
Dusk Themes
The following themes are in the Dusk folder.
Theme File |
Static field of C1SchedulerResources class |
ResourceID |
Description |
Blue.xaml |
DuskBlue |
Dusk.Blue |
Dusk Blue theme. |
Green.xaml |
DuskGreen |
Dusk.Green |
Dusk Green theme. |
Media Player Theme
The following themes are in the Media Player folder.
Theme File |
Static field of C1SchedulerResources class |
ResourceID |
Description |
MediaPlayer.xaml |
MediaPlayer |
MediaPlayer |
Media Player theme. |
Vista Theme
The following themes are in the Vista folder.
Theme File |
Static field of C1SchedulerResources class |
ResourceID |
Description |
Vista.xaml |
Vista |
Vista |
Vista theme. |