Using the Edit Template to Create a Copy of C1Scheduler
In This Topic
To create and use a copy of the C1Scheduler source xaml using Expression Blend:
- Select C1Scheduler instance on designer surface.
- Select Edit Template | Edit a Copy from the Blend context menu.
- Check style key (default value is 'C1SchedulerStyle1') and xaml placement in the "Create Style Resource" dialog and press Ok button.
- Review Blend-generated xaml. It contains exact copy of all C1Scheduler styles and resources. There are 5 styles which can be used in the C1Scheduler: OneDayStyle, WeekStyle, WorkingWeekStyle, MonthStyle and TimeLineStyle.
- Use the default placeholder style (due to limitations) which is currently applied to the C1Scheduler.
- Remove the next.xaml generated by Blend:
Style="{StaticResource C1SchedulerStyle1}".
- Decide what styles you will customize and use them to set C1Scheduler Style, OneDayStyle, WeekStyle, WorkingWeekStyle, MonthStyle or TimeLineStyle properties. For example: MonthStyle="{StaticResource MonthStyle}".
- Build and run your application to review the results.
Now you can customize styles and resources according your needs.