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

GanttControl.SetChartVisibleRange(DateTime, DateTime) Method

In This Article

Sets the chart’s visible range.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.2.dll

NuGet Package: DevExpress.Win.Gantt

#Declaration

public void SetChartVisibleRange(
    DateTime startDate,
    DateTime finishDate
)

#Parameters

Name Type Description
startDate DateTime

A DateTime structure that specifies the vilible range’s start date.

finishDate DateTime

A DateTime structure that specifies the vilible range’s finish date.

See Also