Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GanttControlOptionsView.CriticalPathHighlightMode Property

Gets or sets whether the control highlights single, multiple, or no critical paths.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.2.dll

NuGet Package: DevExpress.Win.Gantt

#Declaration

[DefaultValue(CriticalPathHighlightMode.None)]
[DXCategory("Visual Elements")]
[XtraSerializableProperty]
public CriticalPathHighlightMode CriticalPathHighlightMode { get; set; }

#Property Value

Type Default Description
CriticalPathHighlightMode None

A value that specifies whether the control highlights single, multiple, or no critical paths.

Available values:

Name Description
None

The control does not highlight critical paths.

Single

The control highlights the longest sequence of dependent tasks that affect the project’s start or finish date.

Multiple

The control highlights all sequences of dependent tasks that affect the project’s start or finish date.

#Property Paths

You can access this nested property as listed below:

Object Type Path to CriticalPathHighlightMode
GanttControl
.OptionsView .CriticalPathHighlightMode
See Also