Getting Started
This topic will walk you through the creating of RadTimeline.
Assembly References
In order to use RadTimeline control in your project you have to add references to the following assemblies:
- Telerik.Windows.Controls.dll
- Telerik.Windows.Controls.DataVisualization.dll
- Telerik.Windows.Data.dll
You can include the control in your page by either dragging it from the toolbox in Visual Studio or manually creating the control. Example 1 demonstrate how to create RadTimeline in XAML.
Example 1: Creating RadTimeline control
<telerik:RadTimeline PeriodStart="2016/01/01"
PeriodEnd="2016/06/01"
VisiblePeriodStart="2016/01/01"
VisiblePeriodEnd="2016/03/22"
StartPath="Date"
DurationPath="Duration">
<telerik:RadTimeline.Intervals>
<telerik:MonthInterval />
<telerik:WeekInterval />
<telerik:DayInterval />
<telerik:HourInterval />
</telerik:RadTimeline.Intervals>
</telerik:RadTimeline>
Figure 1: RadTimeline visualization
RadTimeline items
The RadTimeline control presents its data in two types of occurrences(events). The first one is a one-time occurrence which happens once in a time. The second type represents periodical occurrence. It requires a strict Start and End time to be presented.
Figure 2: RadTimeline items visualization
More information about how to populate the control with TimelineItems and TimelineInstantItems can be found in the DataBinding help article in our documentation.