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

TdxGanttControlTask.DurationFormat Property

Specifies the task duration display format.

#Declaration

Delphi
property DurationFormat: TdxDurationFormat read; write;

#Property Value

Type
TdxDurationFormat

#Remarks

Use this property to set the task duration measurement units displayed in the control. You can use any of the following duration types:

  • Simple
  • Estimated
  • Elapsed
  • Estimated-elapsed

For instance, the “PT24H0M0S” duration corresponds to:

  • 1440 minutes and elapsed minutes.

  • 0.6 weeks and approximately 0.14 elapsed weeks.

  • 0.15 months and approximately 0.03 elapsed months.

Note that the control uses the data model‘s Properties.DurationFormat property value if the task has no duration format assigned.

Refer to the TdxDurationFormat type description for more information.

See Also