You can achieve the desired scenario by setting CurrentDate
of the ScheduleView (this will be the start date). And setting the VisibleDays
of the TimelineViewDefinition afterwards (this will be the duration). For an example please check the following code snippet:
private void Button_Click(object sender, RoutedEventArgs e)
this.ScheduleView.CurrentDate = DateTime.Now.AddDays(3);
// Assuming we have only a TimelineViewDefinition
this.ScheduleView.ActiveViewDefinition.VisibleDays = 3;
Hope this helps.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>