TdxGanttControlCustomBaseline.Number Property
Returns a baseline’s number for the control‘s element.
Declaration
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:
Use an element’s Baselines property to access the collection of its baselines.
Call the Add procedure.
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 | ||
Resource | ||
Assignment | ||
Data Model | TdxGanttControlDataModelBaseline (stores baseline data for tasks, resources, and assignments) |