ComponentOne Scheduler for WPF: Using Scheduler for WPF > Scheduler for WPF Appearance > Using C1Scheduler Themes

Using C1Scheduler 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 fourteen predefined themes.

 

C1Scheduler Themes

Example

Dusk Blue

Dusk Green

Media Player

Office 2007 Default

Office 2007 Black

Office 2007 Blue

Office 2007 Silver

Office 2003 Default

Office 2003 Classic

Office 2003 Blue

 

Office 2003 Olive Green

 

Office 2003 Royale

Office 2003 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\Studio for WPF\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.

Office 2003 Themes

The following themes are in the Office 2003 folder.

 

Theme File

Static field of C1SchedulerResources class

ResourceID

Description

Default.xaml

Office2003Default

Office2003.Default

Office 2003 system theme (uses system colors). It uses semi-transparent colors, allowing you to change a control's palette by changing its Background property. This file contains the full definition of Office 2003 styles and templates which are used by other Office 2003 themes.

Classic.xaml

Office2003

Office2003

Office 2003 system theme.

Blue.xaml

Office2003Blue

Office2003.Blue

Office 2003 Blue theme.

Olive.xaml

Office2003Olive

Office2003.Olive

Office 2003 Olive Green theme.

Royale.xaml

Office2003Royale

Office2003.Royale

Office 2003 Royale theme.

Silver.xaml

Office2003Silver

Office2003.Silver

Office 2003 Silver theme.

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 PlayerTheme

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.


Setting the C1Scheduler Theme

Default C1Scheduler Theme Resources


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.