Gets the ComponentResourceKey that references the default theme
that is defined for the C1Scheduler control.
Namespace:
C1.WPF.C1ScheduleAssembly: C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)
Syntax
C# |
---|
public static readonly ComponentResourceKey DefaultThemeKey |
Visual Basic (Declaration) |
---|
Public Shared ReadOnly DefaultThemeKey As ComponentResourceKey |
Remarks
You can use this read-only static field in XAML by assigning its
value to another property value.
Specifically, this field's value defines the 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 ResourceDictionary object.
You can use this field in XAML as an x:Key Attribute
of a ResourceDictionary that redefines the theme for the C1Scheduler control.
Copy CodeC#
Examples

<Application.Resources> <ResourceDictionary> <ResourceDictionary x:Key="{x:Static c1sched:C1Scheduler.DefaultThemeKey}" Source="/C1.WPF.C1Schedule;component/themes/SchedulerThemes/Office2007/Silver.xaml" /> </ResourceDictionary> </Application.Resources> |