Skip to main content

TdxGanttControlTask.DurationFormat Property

Specifies the task duration display format.

Declaration

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