ImageZoomZoomModeSettings.ZoomWindowPosition Property
Gets or sets the zoom window position relative to the preview image.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
[DefaultValue(ZoomWindowPosition.Right)]
public ZoomWindowPosition ZoomWindowPosition { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ZoomWindowPosition | Right | An enumeration value. |
Available values:
Name | Description |
---|---|
Right | A zoom window is displayed at the right of the preview image. |
Bottom | A zoom window is displayed at the bottom of the preview image. |
Left | A zoom window is displayed at the left of the preview image. |
Top | A zoom window is displayed at the top of the preview image. |
Inside | A zoom window is displayed in the borders of the preview image. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to ZoomWindowPosition |
---|---|---|
ASP.NET Web Forms Controls | ASPxImageZoom |
|
ASP.NET MVC Extensions | ImageZoomSettings |
|
Remarks
If the Image Zoom control cannot display the zoom window in the specified position, the control displays the window in the opposite position relative to the preview image. For instance, if the control cannot display the window at the top, the control displays this window at the bottom.
If the Image Zoom cannot display the zoom window in either the specified or opposite position, the control displays the window inside the preview image.
Use the ImageZoomZoomModeSettings.ZoomWindowOffset property to specify a zoom window’s offset.