ComponentOne Scheduler for WPF and Silverlight
DefaultThemeKey Field (CalendarBase)
Example 

C1.WPF.Schedule Namespace > CalendarBase Class : DefaultThemeKey Field
Gets the System.Windows.ComponentResourceKey that references the default theme that is defined for the calendar control.
Syntax
'Declaration
 
Public Shared ReadOnly DefaultThemeKey As System.Windows.ComponentResourceKey
public static readonly System.Windows.ComponentResourceKey DefaultThemeKey
Example
<Application.Resources>
	<ResourceDictionary>
		<ResourceDictionary x:Key="{x:Static c1sched:CalendarBase.DefaultThemeKey}"
							Source="/C1.WPF.Schedule.4;component/themes/CalendarThemes/Office2007/Blue.xaml" />
	</ResourceDictionary>
</Application.Resources>
Remarks
You can use this read-only static field in XAML by assigning its static value to another property value. Specifically, this field's value defines the System.Windows.ComponentResourceKey that is used to look up the default theme. To redefine this theme, reference the DefaultThemeKey by using the x:Static Markup Extension and assign that value as the x:Key Attribute of the new System.Windows.ResourceDictionary object. You can use this field in XAML as an x:Key Attribute of a System.Windows.ResourceDictionary that redefines the theme for the calendar control.
See Also

Reference

CalendarBase Class
CalendarBase Members