Back to Devexpress

Visual Elements

aspnet-17283-components-data-and-image-navigation-image-zoom-visual-elements.md

latest8.1 KB
Original Source

Visual Elements

  • Jul 28, 2021
  • 3 minutes to read

This topic lists the ASPxImageZoom and ASPxImageZoomNavigator elements that are displayed on-screen. Each section contains a screenshot that outlines the element and a brief overview of the element’s function.

The control displays the modal expand window when users click the preview image.

The following visual elements are available.

Expand Window

The control displays the modal expand window when users click the preview image.

The table below lists the main members that affect element appearance and functionality.

CharacteristicsMembers
AvailabilityASPxImageZoom.EnableExpandMode
StyleASPxImageZoom.StylesExpandWindow
TextASPxImageZoom.ExpandWindowText
Close Button ImageImageZoomExpandWindowImages.CloseButton
Close Button StyleImageZoomExpandWindowStyles.CloseButton
Load ModeASPxImageZoom.LargeImageLoadMode

Hint

A preview image displays a hint when a mouse pointer does not hover over it. The hint element consists of an image and text.

The table below lists the main members that affect element appearance and functionality.

CharacteristicsMembers
TextASPxImageZoom.HintText
Text VisibilityASPxImageZoom.ShowHintText
ImageImageZoomImages.Hint
Hint VisibilityASPxImageZoom.ShowHint

Mouse Box

The mouse box is an area displayed around the mouse pointer when it hovers over a preview image. This also invokes a zoom window , which displays a larger image of the mouse box area.

You can use the ImageZoomZoomModeSettings.MouseBoxOpacityMode property to specify the mouse box opacity mode.

InsideOutside

The mouse box size is calculated automatically based on the zoom window size and large image size.

Navigation buttons allow an end user to navigate through thumbnails.

The table below lists the main members that affect element appearance and functionality.

CharacteristicsMembers
Visibility ModeASPxImageZoomNavigator.NavigationButtonVisibility
OrientationASPxImageZoomNavigator.Orientation
StyleImageZoomNavigatorStyles.NextPageButtonHorizontalOutside, ImageZoomNavigatorStyles.NextPageButtonVerticalOutside, ImageZoomNavigatorStyles.PrevPageButtonHorizontalOutside, ImageZoomNavigatorStyles.PrevPageButtonVerticalOutside
ImageImageZoomNavigatorImages.NextPageButtonHorizontalOutside, ImageZoomNavigatorImages.NextPageButtonVerticalOutside, ImageZoomNavigatorImages.PrevPageButtonHorizontalOutside, ImageZoomNavigatorImages.PrevPageButtonVerticalOutside

Preview Image

The preview image is the main ASPxImageZoom control element that displays an image. You can use control level properties to customize the element’s style settings.

You can display a hint in the top left corner of the window when the mouse pointer does not hover over the preview image.

When the mouse pointer hovers over the preview image , the control displays a mouse box around the mouse pointer. This also invokes a zoom window , which displays a larger image of the mouse box area.

Thumbnail

A thumbnail is an image that allows end users to navigate through image zoom navigator images. The preview image displays a larger version of the currently selected thumbnail image.

The table below lists the main members that affect element appearance and functionality.

CharacteristicsMembers
SizesImageZoomNavigatorAutoGeneratedImagesSettings.ThumbnailHeight, ImageZoomNavigatorAutoGeneratedImagesSettings.ThumbnailWidth
StyleImageZoomNavigatorStyles.Thumbnail
Item SpacingASPxImageZoomNavigator.ItemSpacing
Item CountASPxImageZoomNavigator.VisibleItemCount
OrientationASPxImageZoomNavigator.Orientation

Zoom Window

The Image Zoom control displays a zoom window when a user hovers the mouse pointer over a preview image. The zoom window shows a larger image of the mouse box area.

The table below lists the main members that affect element appearance and functionality.

CharacteristicsMembers
AvailabilityASPxImageZoom.EnableZoomMode
TextASPxImageZoom.ZoomWindowText
SizesImageZoomZoomModeSettings.ZoomWindowHeight, ImageZoomZoomModeSettings.ZoomWindowWidth
PositionImageZoomZoomModeSettings.ZoomWindowPosition
OffsetImageZoomZoomModeSettings.ZoomWindowOffset
StyleASPxImageZoom.StylesZoomWindow
Load ModeASPxImageZoom.LargeImageLoadMode