Skip to main content

WinExplorerViewOptionsImageLoad.DesiredThumbnailSize Property

Gets or sets the desired size of thumbnail images, created during Asynchronous Image Loading.

Namespace: DevExpress.XtraGrid.WinExplorer

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

public Size DesiredThumbnailSize { get; set; }

Property Value

Type Description
Size

A Size structure that is the desired thumbnail image size. The default value is Size.Empty, which is equivalent to 256x256.

Property Paths

You can access this nested property as listed below:

Object Type Path to DesiredThumbnailSize
WinExplorerView
.OptionsImageLoad .DesiredThumbnailSize

Remarks

In Asynchronous Image Load Mode, the DesiredThumbnailSize property specifies the size of automatically generated thumbnails and thumbnails generated by the ThumbnailImageEventArgs.CreateThumbnailImage method. When displaying the generated thumbnails, they are zoomed in or out to fit the display rectangle.

Note

The image size depends on the currently applied style (see WinExplorerViewOptionsView.Style):

  • 256x256 for the ExtraLarge style,
  • 96x96 for the Large style,
  • 48x48 for the Content, Medium and Tiles styles,
  • 16x16 for the Small and List styles.

You can customize the image sizes by using the WinExplorerView.OptionsViewStyles.<ViewStyle>.ImageSize property (see WinExplorerViewStyleOptions.ImageSize).

Since thumbnails are always zoomed in/out up to the current image size, setting the DesiredThumbnailSize property to a greater value has no effect.

Setting DesiredThumbnailSize property to a value less than the image size in particular styles, leads to blurry images in those styles.

See Also