Skip to main content
All docs
V25.1
  • GanttControlOptionsView.CriticalPathHighlightMode Property

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

    Namespace: DevExpress.XtraGantt

    Assembly: DevExpress.XtraGantt.v25.1.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