All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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.v20.1.dll

Declaration

public void FitRangeToWidth(
    DateTime rangeStart,
    DateTime rangeEnd
)
Public Sub FitRangeToWidth(
    rangeStart As Date,
    rangeEnd As Date
)

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