Skip to main content

XYDiagramPaneBase.ZoomRectangle Property

Provides access to the settings that define the appearance of the zoom rectangle.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[PersistenceMode(PersistenceMode.InnerProperty)]
[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
[XtraSerializableProperty(XtraSerializationVisibility.Content)]
public ZoomRectangle ZoomRectangle { get; }

Property Value

Type Description
ZoomRectangle

A ZoomRectangle object.

Remarks

The zoom rectangle is displayed on a chart’s diagram when an end-user starts zooming a chart at runtime (if zooming is allowed). Use the ZoomRectangle property to customize the appearance of the zoom rectangle.

The following images demonstrate different appearances of the zoom rectangle.

Default appearance:

ZoomRectangle1

Customized appearance:

ZoomRectangle2

See Also