TdxGanttControlTaskBaseline.DurationFormat Property
Specifies the baseline duration display format.
Declaration
property DurationFormat: TdxDurationFormat read; write;
Property Value
Type |
---|
TdxDurationFormat |
Remarks
Use this property to set duration measurement units for the task’s baseline.
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:
Specify the property value explicitly
Assign a duration display format to the task associated with the baseline and then call the AssignCurrentValues procedure
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.