Back to Devexpress

GanttView.ZoomIn(Nullable<Point>) Method

wpf-devexpress-dot-xpf-dot-gantt-dot-ganttview-dot-zoomin-x28-system-dot-nullable-system-dot-windows-dot-point-x29.md

latest2.0 KB
Original Source

GanttView.ZoomIn(Nullable<Point>) Method

Zooms in the Gantt area.

Namespace : DevExpress.Xpf.Gantt

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

NuGet Package : DevExpress.Wpf.Gantt

Declaration

csharp
public void ZoomIn(
    Point? point = null
)
vb
Public Sub ZoomIn(
    point As Point? = Nothing
)

Optional Parameters

NameTypeDefaultDescription
pointNullable<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

GanttView Class

GanttView Members

DevExpress.Xpf.Gantt Namespace