Skip to main content

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

TdxGanttControlTaskBaseline.DurationFormat Property

Specifies the baseline duration display format.

#Declaration

Delphi
property DurationFormat: TdxDurationFormat read; write;

#Property Value

Type
TdxDurationFormat

#Remarks

Use this property to set duration measurement units for the task’s baseline.

A Baseline's Duration

The duration defines the baseline bar’s length in the chart so every time a user changes the duration’s measurement units, the baseline bar’s length updates accordingly.

#Supported Formats

You can use any of the following duration formats:

  • Simple
  • Estimated
  • Elapsed
  • Estimated-elapsed

Refer to the TdxDurationFormat type description for more information.

#Implementation Details

The control ignores the baseline’s DurationFormat property value until you do any of the following:

Note

You should call the baseline’s AssignCurrentValues procedure every time you change the associated task’s settings. Otherwise, the baseline settings are not updated.

See Also