Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxImageSliderPreviewOptions.ThumbnailSize Property

Specifies the thumbnail size, in pixels.

#Declaration

Delphi
property ThumbnailSize: TcxSize read; write;

#Property Value

Type
TcxSize

#Remarks

Use the ThumbnailSize.Width and ThumbnailSize.Height sub-properties to specify the dimensions of thumbnails that are created automatically based on collection images specified using the image slider’s Images or MultiFrameImage property. Collection images are scaled to a specified size without maintaining the aspect ratio. None of the dimensions, in pixels, can be less than the dxImageSliderThumbnailMinSize. To provide custom thumbnails, handle the image slider’s OnGetThumbnail event.

The default value of the ThumbnailSize property is a TcxSize value specifying a rectangle that is dxImageSliderThumbnailDefaultWidth pixels wide by dxImageSliderThumbnailDefaultHeight pixels high.

See Also