Skip to main content

TileItemElement.Width Property

Gets or sets this TileItemElement‘s width.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(-1)]
[DXCategory("Appearance")]
public int Width { get; set; }

Property Value

Type Default Description
Int32 -1

An Int32 value that is this TileItemElement‘s width.

Remarks

By default, element height and width are calculated automatically, depending on the element content. You can use the TileItemElement.Height and Width properties to manually set element dimensions. These manually set values are also used when the element is stretched across the parent tile (see the TileItemElement.StretchVertical and TileItemElement.StretchHorizontal properties).

See Also