Back to Devexpress

TileItemElement.Width Property

windowsforms-devexpress-dot-xtraeditors-dot-tileitemelement-1fb5fbe6.md

latest2.0 KB
Original Source

TileItemElement.Width Property

Gets or sets this TileItemElement‘s width.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
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

StretchVertical

StretchHorizontal

TileItemElement Class

TileItemElement Members

DevExpress.XtraEditors Namespace