GanttView.ZoomIn(Nullable<Point>) Method

Zooms in the Gantt area.

Namespace: DevExpress.Xpf.Gantt

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


public void ZoomIn(
    Point? point = default(Point? )
Public Sub ZoomIn(
    point As Point? = Nothing

Optional Parameters

Name Type Default Description
point Nullable<Point>


A Point object that specifies a new zoom location.


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