Skip to main content

GanttView.ZoomIn(Nullable<Point>) Method

Zooms in the Gantt area.

Namespace: DevExpress.Xpf.Gantt

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

NuGet Package: DevExpress.Wpf.Gantt

Declaration

public void ZoomIn(
    Point? point = null
)

Optional Parameters

Name Type Default Description
point Nullable<Point> null

A Point object that specifies a new zoom location.

Remarks

Use the ZoomIn and the ZoomOut(Nullable<Point>) methods to zoom the Gantt area in and out. These methods change the Zoom property value respecting the available zoom range, specified by the ZoomRange property.

The zooming is performed related to the central point of the Gantt area, if the ZoomIn method parameter is not specified.

See Also