BaseLayoutItem.TextSize Property

Gets or sets the size of the text region.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

[XtraSerializableProperty]
[DXCategory("Text")]
public virtual Size TextSize { get; set; }
<XtraSerializableProperty>
<DXCategory("Text")>
Public Overridable Property TextSize As Size

Property Value

Type Description
Size

A Size structure that defines the width and height of the item's text region.

Remarks

The text region displays the value of the BaseLayoutItem.Text property. The text region's size can be changed via the TextSize property only for LayoutControlItem items. For other items the text region's size is controlled automatically based on the BaseLayoutItem.Text value.

See Also