Back to Devexpress

ITileContainerDefaultProperties.ActualItemBackgroundImageScaleMode Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-windowsui-dot-itilecontainerdefaultproperties-be03013b.md

latest3.5 KB
Original Source

ITileContainerDefaultProperties.ActualItemBackgroundImageScaleMode Property

Gets the current Tile background image stretch mode common to all Tiles within this TileContainer.

Namespace : DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
TileItemImageScaleMode ActualItemBackgroundImageScaleMode { get; }
vb
ReadOnly Property ActualItemBackgroundImageScaleMode As TileItemImageScaleMode

Property Value

TypeDescription
TileItemImageScaleMode

A TileItemImageScaleMode enumerator value that specifies the current Tile background image stretch mode common to all Tiles within this TileContainer.

|

Available values:

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.

|

Remarks

See the ITileContainerDefaultProperties.ItemBackgroundImageScaleMode property to learn more.

See Also

ItemBackgroundImageScaleMode

ITileContainerDefaultProperties Interface

ITileContainerDefaultProperties Members

DevExpress.XtraBars.Docking2010.Views.WindowsUI Namespace