Skip to main content
Tab

ImageGalleryFullscreenViewerSettings.ThumbnailImageSizeMode Property

Gets or sets the value specifying how an image fits into the thumbnail size into the fullscreen viewer.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(ImageSizeMode.FillAndCrop)]
public ImageSizeMode ThumbnailImageSizeMode { get; set; }

Property Value

Type Default Description
ImageSizeMode FillAndCrop

One of the ImageSizeMode enumeration values.

Available values:

Name Description
ActualSizeOrFit

If an image is bigger than the image area the image is reduced to fit the area. If an image is smaller than the image area, its size is not changed.

ImageSlider_SizeMode_ASOF

FitProportional

An image is enlarged or reduced to fit the image area.

ImageSlider_SizeMode_FP

FillAndCrop

An image is enlarged or reduced to fill the image area. Prominent parts are cropped.

ImageSlider_SizeMode_FillAndCrop

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ThumbnailImageSizeMode
ASP.NET Web Forms Controls ASPxImageGallery
.SettingsFullscreenViewer .ThumbnailImageSizeMode
ASP.NET MVC Extensions ImageGallerySettings
.SettingsFullscreenViewer .ThumbnailImageSizeMode

Remarks

Image Value Description
ImageSlider_SizeMode_ASOF ActualSizeOrFit If an image is bigger than the thumbnail size, the image is reduced to fit the size. If an image is smaller than the thumbnail size, its size is not changed.
ImageSlider_SizeMode_FillAndCrop FillAndCrop An image is enlarged or reduced to fill the thumbnail size. Prominent parts are cropped.
ImageSlider_SizeMode_FP FitProportional An image is enlarged or reduced to fit the thumbnail size.
See Also