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

WPF Team Blog
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

Validation

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.

Webinar

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

Free DevExpress Products – Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We’ll be happy to follow-up.
Tags
Gustavo Vigo
Gustavo Vigo

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

30 April 2019
Alex Chuev (DevExpress)
Alex Chuev (DevExpress)

Gustavo,

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

Thanks,

Alex

30 April 2019
Jacek Kosiński
Jacek Kosiński

What about winforms Version?

30 April 2019
Gabriel Phaiphai
Gabriel Phaiphai

Looks great!

Winforms Version +1 Vote

ASP.NET Gantt Control (CTP) as welcome addition

30 April 2019
Juan Betancourt
Juan Betancourt

+1 Winforms? Please

30 April 2019
Hedi Guizani
Hedi Guizani

+ 1 WF

30 April 2019
Gabriel Phaiphai
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
Thorsten Sommer

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

30 April 2019
Everton Gonçalves
Everton Gonçalves

+1 WINFORMS !

30 April 2019
Customer49558
Aleksandr

Winforms

30 April 2019
Dimitris Bagias
Dimitris Bagias

+1 WinForms

30 April 2019
Steve Sharkey
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)
Alex Chuev (DevExpress)

Gabriel,

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)

Thanks,

Alex

2 May 2019
Pablo Urdiales
Pablo Urdiales

I am trying GanttControl v 19.1 out and the property "Duration" don't appear, Why?.

29 May 2019
Alex Chuev (DevExpress)
Alex Chuev (DevExpress)

Pablo,

Please feel free to describe the issue in a Support Center ticket:

www.devexpress.com/.../Create

Our team will be happy to help.

Thanks,

Alex

30 May 2019
Aleksandr Vasil'ev
Aleksandr Vasil'ev

+1 WinForms

4 June 2019
Elton
Elton

Hi there,

this looks very promising. I'd like to ask if you will be adding a very important feature, "Split task" (see MS Project for more details). Would you have the API which we could play with to achieve it?

What about:

- Network Diagram

- Pert Chart

thanks

5 June 2019
Alex Chuev (DevExpress)
Alex Chuev (DevExpress)

Hi Elton,

Split tasks are not planned at the moment. As for the Network Diagram and Pert Chart, it should be possible to implement them with our Diagram Control:

docs.devexpress.com/.../diagram-control

Thanks,

Alex

5 June 2019
CRM-272e6b36-fe17-4967-9cbe-bbc57b9a026a
Customer66781

Hi

Is whatever method to print gantt arrea for version 19.2 WPF ?

10 September 2020
Alex Chuev (DevExpress)
Alex Chuev (DevExpress)

We're going to support printing of Gantt in v20.2. The Early Access Preview with this feature is available to active DXperience and Universal subscription owners:
https://community.devexpress.com/blogs/wpf/archive/2020/08/25/wpf-early-access-preview-v20-2.aspx#gantt


Thanks,

Alex

11 September 2020

Please login or register to post comments.