ImageGallerySettings.ThumbnailImageSizeMode Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll


public ImageSizeMode ThumbnailImageSizeMode { get; set; }
Public Property ThumbnailImageSizeMode As ImageSizeMode

Property Value

Type Description

One of the ImageSizeMode enumeration values.


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