Skip to main content

GanttView.FitRangeToWidth(DateTime, DateTime) Method

Zooms the specified date range to fit it into the Gantt area.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v24.2.dll

NuGet Package: DevExpress.Wpf.Gantt

Declaration

public void FitRangeToWidth(
    DateTime rangeStart,
    DateTime rangeEnd
)

Parameters

Name Type Description
rangeStart DateTime

A range start date.

rangeEnd DateTime

A range end date.

Remarks

The method call has no result until the GanttControl is loaded and has a non-zero width.

See Also