WPF - Gantt Control - Interactive Editing (v19.1)

30 April 2019

Here’s great news for users of our WPF Gantt Control: we completed the CTP phase that began with v18.2 and the control is fully supported in v19.1. Read on for a summary of the new functionality.

Interactive Editing

The Gantt area is now fully interactive. You can drag and resize tasks to change start dates and durations, modify progress, and attach or detach connectors to define predecessor links.

As a developer, you can individually enable or disable these interactive editing features:

  • Changes to a task start date by dragging left or right along the timeline
  • Changes to a task end date by resizing the task
  • Changes to the progress of a task by dragging the right edge of the progress bar
  • Managing dependencies by creating, editing, and removing connectors using drag&drop

Gantt Editing

Following any editing operations, the Gantt Control automatically recalculates positions for related tasks and updates positions, durations, and progress details of summary tasks. If a user changes a task so that it conflicts with defined dependencies, the Gantt Control displays these dependencies as invalid.

Dependency Lag

Every dependency now stores an optional Lag value (positive or negative) that indicates the amount of time that should pass before the dependency affects a connected task. In this image you can see a negative lag (between Write the code and the two tasks following it), a positive lag (ahead of Release the new feature) and a (default) zero lag ahead of Feature is released.

Dependency Lag

Work Time Duration

The Gantt Control takes non-working hours and holidays into account when calculating task duration. For example, with the default configuration, a task with a Duration of 16 hours spans two days on the timeline and displays 2 days in the tree list area.

You may notice this behavior in the animations above and below. Here is an image where you can see the task Write the code stretch across the weekend, even though its Duration is only one day.

Work Time Duration


The new validation functionality helps you keep data consistent and valid. For example, an end user is not allowed to connect two tasks under the following circumstances:

  • The two tasks are a summary task and one of its child tasks
  • The successor task and the predecessor task are the same
  • The connection already exists
  • Creating a connector will cause a cyclic connection between the tasks

Here’s a demonstration of how the Gantt Control prevents a user from creating a cyclic task connection, and from creating a connection that already exists.

Gantt Validation

Add New Item

When the New Item Row feature is enabled, you can draw a new task in that row without having to manually select its start and end dates.

Add New Item

Your Feedback Is Welcome

We would like to hear your thoughts about the Gantt Control. Have you tried it yet? Do you have requests for additional features now a release version is available? Please feel free to leave comments below or create Support Center tickets for further discussion.


Please use the link below to register for our upcoming WPF webinar, where all new features of the v19.1 release are demonstrated.

Register for the WPF Webinar

13 comment(s)
Gustavo Vigo

Excellent ... When the critical path (CPM) is implemented

30 April, 2019
Alex Chuev (DevExpress)


We plan to release the Critical Path feature in v19.2.



30 April, 2019
Jacek Kosiński

What about winforms Version?

30 April, 2019
Gabriel Phaiphai

Looks great!

Winforms Version +1 Vote

ASP.NET Gantt Control (CTP) as welcome addition

30 April, 2019
Juan Betancourt

+1 Winforms? Please

30 April, 2019
Hedi Guizani

+ 1 WF

30 April, 2019
Gabriel Phaiphai

Will the Gantt Control currently/in future support

(1) resources assigned to tasks

(2) Customs columns like progress%completed,

   duration days/hours, status,priority,

   predecessors...etc columns

(3) Gantt Report type and Printing

(4) MS Project import/export

30 April, 2019
Thorsten Sommer

Yes, would like to see a winform version as well :-)

30 April, 2019
Everton Gonçalves


30 April, 2019


30 April, 2019
Dimitris Bagias

+1 WinForms

30 April, 2019
Steve Sharkey

You have a WinForms version in your roadmap for 2019 - will it launch with tehse features too or will it be playing catchup?

1 May, 2019
Alex Chuev (DevExpress)


My answers below are concerning the WPF Gantt Control.

1) You can store resources in your data objects connected to the Gantt Control. Automatic calculations based on resource availability are not planned at the moment.

2) You can add any number of custom columns and connect them to the properties of your data objects.

3) Printing is only available for the tree list area of the Gantt Control.

4) You can import MS Project data into the Gantt Control as shown in our demos:

dxdemo://Wpf/DXGantt/MainDemo/ImportFromMSProject (requires installation of WPF products)



2 May, 2019

Please login or register to post comments.