Using C1Scheduler Default Templates
C1Scheduler’s default interface includes a number of default DataTemplate objects, such as the Appointment, Edit, and Reminder dialog boxes. Custom user interfaces for these templates can be provided as DataTemplate objects, which should be assigned to an appropriate C1Scheduler property. The default DataTemplates are accessible through ComponentResourceKeys. The following table lists the C1Scheduler property that defines its DataTemplate and the default DataTemplate ComponentResourceKey.
C1Scheduler Property |
Default DataTemplate |
Description |
EditAppointmentTemplate |
x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type local:C1Scheduler}, ResourceID=EditAppointmentTemplate}" |
Edit/New Appointment dialog box template. |
EditRecurrenceTemplate |
x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type local:C1Scheduler}, ResourceID=EditRecurrenceTemplate}" |
Edit Recurrence dialog box template. |
SelectFromListTemplate |
x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type local:C1Scheduler}, ResourceID=SelectFromListTemplate}" |
Select Resources/Categories/Contacts dialog box template. |
ShowRemindersTemplate |
x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type local:C1Scheduler}, ResourceID=ShowRemindersTemplate}" |
Reminders window template. |
IntervalAppointmentTemplate |
x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type local:C1Scheduler}, ResourceID=IntervalAppointmentTemplate}" |
Appointment element template. |
|