GanttControl Class
The Gantt control.
Namespace: DevExpress.Xpf.Gantt
Assembly: DevExpress.Xpf.Gantt.v24.1.dll
NuGet Package: DevExpress.Wpf.Gantt
Declaration
Remarks
The GanttControl is a TreeListControl descendant that displays a tree of tasks and subtasks and a gantt chart area that visualize tasks flow and relations.
The GanttControl inherits the majority of features exposed by the GridControl and TreeListControl. This includes: data editing, automatic and custom sorting and filtering, full end-user customization options, editable unbound columns and DevExpress Expression editor, built-in validation, automatic and manual summary calculation, UI virtualization and per-pixel scrolling, template and style support, UI localization, extendable context menus, design-time support and much more…
The GanttControl uses the same View-based data presentation approach introduced by the GridControl. The GanttControl uses a GanttView (the TreeListView descendant) to display data from the bound data source. A GanttView specifies how Gantt chart items are displayed. This view supports multi-column display of hierarchical data, data shaping and layout customization features such as Sorting and Filtering, Data Editing via Embedded Cell Editors, Column Auto Width, Column Reordering and Resizing, Fixed Columns, Field Chooser Window and Extendable Context Menus.
To bind the GanttControl to a data source, use the control’s DataControlBase.ItemsSource property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the GanttControl class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.