WPF Scheduler - Generate Time Scales From a View Model Collection

This example generates Time Scales from a collection. The TimelineView.TimeScalesSource property specifies the collection of objects that describe time scale elements. The TimelineView.TimeScaleTemplate property allows you to define a data template used to generate time scales. The example uses the TimelineView.TimeScaleTemplateSelector property to choose a template based on the time scale type and generates the following time scales: Day, Hour, and Half Hour.

The TimelineView.TimeScales collection stores all time scales. You can also use collection members to add, modify, or remove time scales.

image

Files to Review

Documentation

More Examples