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

TdxGanttControlDataModelBaseline Class

A data model’s baseline.

#Declaration

Delphi
TdxGanttControlDataModelBaseline = class(
    TdxGanttControlCustomBaseline
)

#Remarks

A data model baseline is used to store baseline information for the following elements:

Element

Baseline Class

Task

TdxGanttControlTaskBaseline

Resource

TdxGanttControlResourceBaseline

Assignment

TdxGanttControlAssignmentBaseline

In an XML file that stores the chart structure, data model baselines are wrapped in the <Baselines></Baselines> tags:

<Baselines>
    <Baseline>
        <!-- A baseline number. You can specify the attribute value when you create a baseline.--> 
        <Number>1</Number>
        <!-- A baseline's create date.-->
        <Created>2021-12-06T18:04:22</Created>
        <!-- A baseline's text description (optional).-->
        <Description>A task baseline</Description>
    </Baseline>
</Baselines>

When you create a baseline, the Baselines section is added to an XML file. The following can occur when you add a new baseline:

  • A baseline with the specified number is created for all elements.

  • Baseline data is updated for each element that has a baseline with the specified number.

#Main API Members

The TdxGanttControlDataModelBaseline API members allows you to do the following:

  • Get the baseline’s creation timestamp (Created)
  • Specify a text description for a baseline (Description)

The following members in a data model baseline collection reference a TdxGanttControlDataModelBaseline object:

See Also