Back to Devexpress

TileViewOptionsImageLoad.DesiredThumbnailSize Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-tileviewoptionsimageload-eca8cca2.md

latest2.8 KB
Original Source

TileViewOptionsImageLoad.DesiredThumbnailSize Property

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

Namespace : DevExpress.XtraGrid.Views.Tile

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
Size

A Size structure that is the desired thumbnail image size.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to DesiredThumbnailSize
TileView

.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.

The DesiredThumbnailSize property’s default value is Size.Empty. In this case, the actual size is specified by the TileViewItemOptions.ItemSize property.

See Also

GetThumbnailImage

Asynchronous Image Load in Data Grid

TileViewOptionsImageLoad Class

TileViewOptionsImageLoad Members

DevExpress.XtraGrid.Views.Tile Namespace