windowsforms-devexpress-dot-xtragantt-dot-ganttcontroloptionsview-9e804643.md
Gets or sets whether the control highlights single, multiple, or no critical paths.
Namespace : DevExpress.XtraGantt
Assembly : DevExpress.XtraGantt.v25.2.dll
NuGet Package : DevExpress.Win.Gantt
[DefaultValue(CriticalPathHighlightMode.None)]
[DXCategory("Visual Elements")]
[XtraSerializableProperty]
public CriticalPathHighlightMode CriticalPathHighlightMode { get; set; }
<DXCategory("Visual Elements")>
<XtraSerializableProperty>
<DefaultValue(CriticalPathHighlightMode.None)>
Public Property CriticalPathHighlightMode As CriticalPathHighlightMode
| 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.
|
You can access this nested property as listed below:
| Object Type | Path to CriticalPathHighlightMode |
|---|---|
| GanttControl |
.OptionsView .CriticalPathHighlightMode
|
See Also