[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Collapse]Gantt Control
    Data Source
    Tree and Chart Areas
    Tasks, Milestones, Dependencies
    Workweek Schedule and Exceptions
    View Options and Appearances
    Ribbon Commands
  [Expand]Chart Control
  [Expand]Map Control
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)


The GanttControl class represents a Gantt chart — a bar chart that illustrates a project schedule. The control consists of a task list and a chart that shows task start and finish dates, progress and dependencies.


Run the Software Development demo to try out the Gantt control.

Expanded Tree and Chart Areas

The Gantt control consists of two areas:

  • the tree area — displays a task list. Tasks are organized in a tree structure. The GanttControl class is derived from the TreeList class.

  • the chart area — displays the timescale rulers and bars that illustrate task start and finish dates, progress, and dependencies.

See the Tree and Chart Areas topic for more information.

Expanded Nodes and Tasks

The GanttControlNode class represents a node in the tree area. The chart area displays bars that correspond to the tasks. The Gantt control supports the following task types:

  • Task — a regular task that has a certain duration.

  • Summary task — a task that shows combined information for its subtasks.

  • Milestone — a task with a zero duration.

The control also displays dependencies between tasks. A task can have a predecessor task that should be accomplished before the task can start.

See the Tasks, Milestones, Dependencies topic for more information.

Expanded Timescale and Zoom

The chart area displays the timescale. The timescale ruler can be in hours, days, weeks, etc. Users can hold Ctrl and use the mouse wheel to change the measure unit.

See the Timescale topic to learn how to customize the timescale.

Expanded Workweek Schedule and Exceptions

The data source can provide start and finish dates for tasks, or start dates and durations. The Gantt control automatically calculates durations and finish dates based on rules that specify the regular workweek schedule and exception days. See the Workweek Schedule and Exceptions topic to learn how to specify the rules.

Expanded Right-to-Left

The Gantt control supports right-to-left writing systems. Enable the control's System.Windows.Forms.Control.RightToLeft option to invert the text direction. See Right-to-Left Layout for more information.

Is this topic helpful?​​​​​​​