TileItemElement.Width Property

Gets or sets this TileItemElement's width.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DefaultValue(-1)]
[DXCategory("Appearance")]
public int Width { get; set; }
<DefaultValue(-1)>
<DXCategory("Appearance")>
Public Property Width As Integer

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