NavigationOptions.EnableZoomToRectangle Property
Gets or sets whether a user can press SHIFT and select a rectangular chart region to zoom into it (marquee zoom).’
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v26.1.dll
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | True |
|
Property Paths
You can access this nested property as listed below:
| Object Type | Path to EnableZoomToRectangle |
|---|---|
| XYDiagram2D |
|
Remarks
The EnableZoomToRectangle property controls the SHIFT + mouse drag only:
- The zoom action requires mouse navigation. Set the UseMouse property to
true. - When the
EnableZoomToRectangleproperty is set tofalse, a SHIFT + drag action pans the diagram instead of selecting a region to zoom into. - The
EnableZoomToRectangleproperty does not affect mouse wheel zoom, SHIFT + click zoom, or the XYDiagram2D.ZoomIntoRectangle(Rect) method.
Refer to the following section for additional information: Zoom and Scroll in 2D XY-Charts
See Also