Tab
A newer version of this page is available. Switch to the current version.

ASPxImageZoom Class

An image zoom control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public class ASPxImageZoom :
    ASPxWebControl,
    ISupportsImageCaching
Public Class ASPxImageZoom
    Inherits ASPxWebControl
    Implements ISupportsImageCaching

Remarks

ImageZoom_Overview

The ASPxImageZoom class provides you with the ability to display images in high-res detail. The ASPxImageZoom control combines two image zoom effects. Hovering over the image displays a zoomed area (controlled by the ASPxImageZoom.EnableZoomMode property), a click on the image enlarges it in a full-screen popup (controlled by the ASPxImageZoom.EnableExpandMode property).

To specify an image displayed in preview area, use the ASPxImageZoom.ImageUrl property. The image displayed in the zoom window and the expand window is specified by the ASPxImageZoom.LargeImageUrl property.

You can supplement the image zoom with the image navigation functionality. For this purpose, link an ASPxImageZoom object to an ASPxImageZoomNavigator object using the ASPxImageZoom.AssociatedImageZoomNavigatorID property.

NOTE

ASPxImageZoom control provides you with a comprehensive client-side functionality implemented using JavaScript code.

The control's client-side API is enabled if the ASPxImageZoom.ClientInstanceName property is defined or any client event is handled.

See Also