WinExplorerViewOptionsImageLoad.DesiredThumbnailSize Property

Gets or sets the desired size of thumbnail images, created during the Asynchronous Image Load in WinExplorer and Tile Views.

Namespace: DevExpress.XtraGrid.WinExplorer

Assembly: DevExpress.XtraGrid.v20.2.dll

Declaration

public Size DesiredThumbnailSize { get; set; }
Public Property DesiredThumbnailSize As Size

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