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

TdxGanttControlCustomBaseline.Number Property

Returns a baseline’s number for the control‘s element.

#Declaration

Delphi
property Number: Integer read;

#Property Value

Type Description
Integer

A baseline number in integer format.

#Remarks

Use this property to get the number of the baseline created for a task, resource, assignment, or the control’s data model.

When you create a baseline, you should specify the baseline’s number that serves as its identifier. You can assign the same number to multiple baselines to group them.

All baselines with the same number are considered a set so you can display a baseline for each element that has the baseline with this number.

#Specify a Baseline Number

You can follow the steps below to create a baseline with the specified number for the corresponding element:

  1. Use an element’s Baselines property to access the collection of its baselines.

  2. Call the Add procedure.

  3. Pass a baseline number as the procedure’s ANumber parameter.

The table below lists references to the corresponding baseline type and its collection:

Element

Baseline Class

Baseline Collection Class

Task

TdxGanttControlTaskBaseline

TdxGanttControlTaskBaselines

Resource

TdxGanttControlResourceBaseline

TdxGanttControlResourceBaselines

Assignment

TdxGanttControlAssignmentBaseline

TdxGanttControlAssignmentBaselines

Data Model

TdxGanttControlDataModelBaseline (stores baseline data for tasks, resources, and assignments)

TdxGanttControlDataModelBaselines

See Also