All docs
V21.2
21.2
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GanttView.CriticalPathHighlightMode Property

Gets or sets how the Gantt control detects and highlights critical paths. This is a dependency property.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v21.2.dll

Declaration

public CriticalPathHighlightMode CriticalPathHighlightMode { get; set; }

Property Value

Type Description
CriticalPathHighlightMode

A critical path highlight mode.

Available values:

Name Description
None

Control does not highlight a critical path.

Single

Control highlights a single chain of linked tasks that affect the overall project duration.

Multiple

Control highlights multiple chains of linked tasks that affect the overall project duration.

Remarks

The GanttControl can automatically calculate and highlight critical paths in the Gantt area. A critical path automatically updates when you move tasks or change the task’s duration.

To detect whether a particular Gantt node is critical, use the GanttNode.IsCritical property.

See Also