Skip to main content
A newer version of this page is available. .

GanttControl.ChartStartDate Property

Gets or sets the first date in the chart area.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Gantt

Declaration

[DefaultValue(null)]
[DXCategory("Data")]
public virtual DateTime? ChartStartDate { get; set; }

Property Value

Type Default Description
Nullable<DateTime> null

A DateTime value that specifies a date.

Remarks

The control’s ChartStartDate and ChartFinishDate properties specify the first and last visible dates in the chart area when the control is displayed on screen.

You can also use the OptionsPrint property to access the ChartStartDate and ChartFinishDate properties that specify the first and last visible dates when the chart is printed or exported.

See Also