Skip to main content
A newer version of this page is available. .

TileItemElement.StretchVertical Property

Gets or sets whether this TileItemElement should be vertically stretched across the entire tile.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DefaultValue(false)]
[DXCategory("Appearance")]
public bool StretchVertical { get; set; }

Property Value

Type Default Description
Boolean **false**

true, if this TileItemElement should be vertically stretched across the entire tile; otherwise, false.

Remarks

The StretchVertical property allows you to stretch the TileItemElement from the tile top to the bottom, forming a solid stripe. The width of this bar is equal to the TileItemElement.Width property value. You can also colorize this stripe by using the BackColor property accessed through the TileItemElement.Appearance section.

Elements can also be stretched horizontally. To do so, use the TileItemElement.StretchHorizontal property instead.

The figure below illustrates an example.

TileView - Stretch Elements

See Also