C1Scheduler Default Styles and Templates
Default styles are defined using styles and templates for smaller C1Scheduler parts. C1Scheduler uses these styles and templates as DynamicResources, so you can re-define any of them to customize default C1Scheduler views. The following table depicts the details of default C1Scheduler styles and templates along with their keys:
Keys used by all default themes
Resource key |
Description |
C1Scheduler_DayHeader_Style |
Determines the style of the day header. |
PART_C1Scheduler_WorkHour_Style |
Determines the style of the one work hour group in a day view. |
PART_C1Scheduler_FreeHour_Style |
Determines the style of the one free hour group in a day view. |
PART_C1Scheduler_WorkSlot_Template |
Determines the template of a single free time slot in a day view. |
PART_C1Scheduler_FreeSlot_Template |
Determines the template of a single free time slot in a day view. |
C1Scheduler_AllDayArea_Template |
Determines the template used for displaying the All-Day area in a Day view. |
C1Scheduler_TimeRuler_Template |
Determines the template used for one hour of a time ruler in a Day view. |
C1Scheduler_MonthHeader_Style |
Determines the style of the month grid header (week day names). |
C1Scheduler_OneMonthDay_Template |
Determines the template used for displaying one day in a Month View (includes day header and day content). |
C1Scheduler_OverflowJumper_Template |
Determines the template used for displaying overflow jumper in a Month View and Office 2003 Week View when not all appointment elements fit into available day space. |
Office 2003 specific keys
Resource key |
Description |
C1Scheduler_OneWeekDay_Template |
Determines the template used for displaying one day in Office 2003 Week View (includes day header and day content). |
Office 2007 specific keys
Resource key |
Description |
C1Scheduler_PrevNextAppPane_Style |
Defines a style for previous/next appointment navigation pane (containing next/previous labels) represented by ContentControl. |
PART_C1Scheduler_Day_Style |
Determines the style of the day group in a day view. |
PART_C1Scheduler_Today_Style |
Determines the style of the current day group in a day view. |
C1Scheduler_WeekTab_Style |
Determines the style of the week tab in a Month view. |
Note that using these ComponentResourceKeys is not obligatory. You can use any keys and assign your custom styles to the corresponding C1Scheduler properties. For example:
<my:C1Scheduler MonthStyle="{DynamicResource customOneDayStyle}}"
WeekStyle="{DynamicResource customWeekStyle}}"/>
|