Back to Devexpress

TdxGanttControlChartView.BaselineNumber Property

vcl-dxganttcontrolviewchart-dot-tdxganttcontrolchartview-9437149a.md

latest2.5 KB
Original Source

TdxGanttControlChartView.BaselineNumber Property

Specifies the number of a baseline set to display in the Chart View.

Declaration

delphi
property BaselineNumber: Integer read; write; default -1;

Property Value

TypeDescription
Integer

A baseline set number.

|

Remarks

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

Pass a baseline’s number as the BaselineNumber property value to display a baseline for each task that has the baseline with this number.

Tip

You can specify -1 as the property value to hide all baselines.

The BaselineNumber property’s default value is -1.

Track Baseline Visibility Changes in History

The BaselineNumber property value change does not affect the control‘s history so a user cannot undo and redo the corresponding changes.

You can call the following procedures instead to record an action to the control’s history:

ShowBaselinesDisplays baselines with the specified number.HideBaselinesHides baselines with the specified number. See Also

SetBaselines

ClearBaselines

OnBaselineNumberChanged

TdxGanttControlChartView Class

TdxGanttControlChartView Members

dxGanttControlViewChart Unit