Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GanttView.ZoomRange Property

Gets or sets the zooming range. This is a dependency property.

Namespace: DevExpress.Xpf.Gantt

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

NuGet Package: DevExpress.Wpf.Gantt

#Declaration

public TimeSpanRange ZoomRange { get; set; }

#Property Value

Type Description
TimeSpanRange

A range of TimeSpan objects within which the Gantt area can be zoomed.

#Remarks

Use the ZoomIn and the ZoomOut 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.

Tip

You can set any valid Zoom property value outside the ZoomRange.

See Also