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

XYDiagram2DZoomEventArgs.Type Property

Gets the zooming type, which specifies zooming characteristics.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public XYDiagram2DZoomEventType Type { get; }

#Property Value

Type Description
XYDiagram2DZoomEventType

An XYDiagram2DZoomEventType enumeration value.

Available values:

Name Description
SetRange

A chart’s area was zoomed, either in or out, using the edges of a scrollbar thumb.

ZoomIn

Zooming in was performed on a chart area.

ZoomOut

Zooming out was performed on a chart area.

ZoomUndo

The previous zoom state was restored by pressing the CTRL+Z key combination.

Command

A chart’s area was zoomed using one of the zooming commands (XYDiagram2D.ZoomInCommand, XYDiagram2D.ZoomOutCommand, XYDiagram2D.ZoomIntoRectangleCommand, XYDiagram2D.SetAxisXZoomRatioCommand, XYDiagram2D.SetAxisYZoomRatioCommand or XYDiagram2D.UndoZoomCommand).

See Also