How to Control RadTimeline Horizontal Scroll Manually
Environment
Product Version | 2019.1.116 |
Product | RadTimeline for WPF |
Description
How to move the horizontal scrollbar of RadTimeline manually.
Solution
To control the horizontal scrollbar set the VisiblePeriodStart and VisiblePeriodEnd properties.
<telerik:RadTimeline VisiblePeriodStart="2019/6/22"
VisiblePeriodEnd="2019/7/13" />
this.radTimeline.VisiblePeriodStart = new DateTime(2019, 6, 22);
this.radTimeline.VisiblePeriodEnd = new DateTime(2019, 7, 13);
VisiblePeriodStart and VisiblePeriodEnd are dependency properties, so you can data bind them as well.