Back to Devexpress

GanttView.CriticalPathHighlightMode Property

wpf-devexpress-dot-xpf-dot-gantt-dot-ganttview.md

latest1.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Gantt

Declaration

csharp
public CriticalPathHighlightMode CriticalPathHighlightMode { get; set; }
vb
Public Property CriticalPathHighlightMode As CriticalPathHighlightMode

Property Value

TypeDescription
CriticalPathHighlightMode

A critical path highlight mode.

|

Available values:

NameDescription
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

GanttView Class

GanttView Members

DevExpress.Xpf.Gantt Namespace