windowsforms-devexpress-dot-xtragantt-dot-ganttcontroloptionsview.md
Gets or sets whether to show task baselines in the chart area.
Namespace : DevExpress.XtraGantt
Assembly : DevExpress.XtraGantt.v25.2.dll
NuGet Package : DevExpress.Win.Gantt
[DefaultValue(false)]
[DXCategory("Lines")]
[XtraSerializableProperty]
public bool ShowBaselines { get; set; }
<DXCategory("Lines")>
<XtraSerializableProperty>
<DefaultValue(False)>
Public Property ShowBaselines As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true to show task baselines in the chart area; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to ShowBaselines |
|---|---|
| GanttControl |
.OptionsView .ShowBaselines
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowBaselines property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
gantt.CustomDrawEmptyArea += Gantt_CustomDrawEmptyArea;
gantt.OptionsView.ShowBaselines = true;
gantt.OptionsBehavior.Editable = false;
AddHandler gantt.CustomDrawEmptyArea, AddressOf Gantt_CustomDrawEmptyArea
gantt.OptionsView.ShowBaselines = True
gantt.OptionsBehavior.Editable = False
See Also