The WPF Gantt Chart is a project planning and management tool used to display and manage hierarchical tasks with timeline details. Its intuitive user interface lets you visually manage tasks, task relationships, and resources.
Relationships between different tasks can be specified to determine the order in which the tasks need to be performed. Relationship links can be finish-to-start, start-to-finish, start-to-start, or finish-to-finish types.
Columns can be sorted based on a single field or column or on multiple columns or fields.
A task’s fields, such as duration, start date, end date, predecessors, etc., can be edited directly in their respective cells using a dialog or interactively using taskbars.
Tooltip enhances the user experience by displaying customized information about a specific task.
Zoom in and zoom out of the schedule and chart of the WPF Gantt control between year and minute time units. Gantt provides support for zooming the time period of a task.
Milestones are checkpoints used to specify significant events in the project schedule that is visualized on a Gantt chart.
Highlight a specific set of tasks in the Gantt chart region.
Vertical lines are used to indicate exactly where the current date is in the timeline.
The strip lines in the Gantt chart region denote an important event in a sequential timeline. Strip lines can be generated for recurring dates, as well.
Dynamically add baseline columns to help better analyze the current progress made against the baseline estimations. It is also possible to display baseline statistics with custom visual elements like charts.
Resource names can be customized easily.
Tasks are rendered in a single row to create the resource view.
Several built-in themes are available.
There is built-in support for exporting the visible region or the entire Gantt chart as a JPEG, PNG, or BMP.
Easily import and export from/to the Gantt control and a Microsoft Project.
WPF Gantt controls for the WPF and Silverlight platforms mostly share the same API except for some areas where it is not possible to do so due to platform differences.
Easily get started with the WPF Gantt Chart using a few simple lines of XAML or C# code example as demonstrated below. Also explore our WPF Gantt Chart Example that shows you how to render and configure the gantt chart in WPF.
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
<syncfusion:GanttControl ItemsSource="{Binding Tasks}">
<syncfusion:GanttControl.DataContext>
<local:GanttViewModel/>
</syncfusion:GanttControl.DataContext>
</syncfusion:GanttControl>
public class GanttViewModel
{
public ObservableCollection<TaskDetails> Tasks { get; set; }
public GanttViewModel()
{
Tasks = this.GetTaskDetails();
}
private ObservableCollection<TaskDetails> GetTaskDetails()
{
ObservableCollection<TaskDetails> task = new ObservableCollection<TaskDetails>();
task.Add(
new TaskDetails
{
TaskId = 1,
TaskName = "Scope",
StartDate = new DateTime(2011, 1, 3),
FinishDate = new DateTime(2011, 1, 14),
Progress = 40d
});
task[0].Child.Add(
new TaskDetails
{
TaskId = 2,
TaskName = "Determine project office scope",
StartDate = new DateTime(2011, 1, 3),
FinishDate = new DateTime(2011, 1, 5),
Progress = 20d
});
task[0].Child.Add(
new TaskDetails
{
TaskId = 3,
TaskName = "Justify project office via business model",
StartDate = new DateTime(2011, 1, 6),
FinishDate = new DateTime(2011, 1, 7),
Duration = new TimeSpan(1, 0, 0, 0),
Progress = 20d
});
task[0].Child.Add(
new TaskDetails
{
TaskId = 4,
TaskName = "Secure executive sponsorship",
StartDate = new DateTime(2011, 1, 10),
FinishDate = new DateTime(2011, 1, 14),
Duration = new TimeSpan(1, 0, 0, 0),
Progress = 20d
});
task[0].Child.Add(
new TaskDetails
{
TaskId = 5,
TaskName = "Secure complete",
StartDate = new DateTime(2011, 1, 14),
FinishDate = new DateTime(2011, 1, 14),
Duration = new TimeSpan(1, 0, 0, 0),
Progress = 20d
});
return task;
}
}
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.