Category / Section
How to view the Gantt control with the desired date tasks at load time in WPF
1 min read
This article explains how to view the current date tasks in Syncfusion WPF Gantt control at the initial loading time.
This requirement can be achieved by passing the current date value as a parameter to the ScrollGanttChartTo method.
The following code sample illustrates how to navigate the Gantt chart to the current date.
C#
private void Gantt_OnLoaded(object sender, RoutedEventArgs e)
{
//Scroll a Gantt chart to the date
Gantt.ScrollGanttChartTo(DateTime.Now);
}
See also
How To add custom tooltip to Gantt
How To define your own schedule for Gantt to track the progress of projects
Did not find the solution
Contact Support
RG
Richard Gibson
This does not work with your sample in the WPF control panel C:\Users\xxxxxx\Documents\Syncfusion\WPF\18.1.0.52\Gantt\Data Binding\Resource View Gantt\
Can I get a solution please?