Back to Devexpress

TileItemImageScaleMode Enum

windowsforms-devexpress-dot-xtraeditors-ef15d48c.md

latest4.1 KB
Original Source

TileItemImageScaleMode Enum

Exposes members that specify a TileItem glyph’s stretch mode.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public enum TileItemImageScaleMode
vb
Public Enum TileItemImageScaleMode

Members

NameDescription
Default

Acts as the TileItemImageScaleMode.NoScale value.

| | NoScale |

An image is displayed in its original size and arranged according to the TileItem.ImageAlignment property.

| | Stretch |

A glyph is stretched in order to fit within the area of a tile item.

| | StretchVertical |

A glyph is stretched vertically. Its width remains unchanged.

| | StretchHorizontal |

A glyph is stretched horizontally. Its height remains unchanged.

| | ZoomInside |

Zooms an image proportionally so that it’s displayed within the client area in its entirety.

| | ZoomOutside |

Zooms an image proportionally, allowing its smaller side (width or height) to be displayed in its entirety. The image is centered, so the larger side (height or width) will not be displayed in its entirety.

| | Squeeze |

An image is displayed as is if its actual size is smaller than the size of the container. If the image size is larger than the container’s size, the image is shrunk proportionally to fit the container’s bounds.

|

The following properties accept/return TileItemImageScaleMode values:

Remarks

Use the TileItem.ImageScaleMode and TileControl.ItemImageScaleMode properties to customize stretch options of tile item glyphs. See the Tile Item Structure topic to learn more about tile items content customization.

See Also

ImageScaleMode

ItemImageScaleMode

DevExpress.XtraEditors Namespace