Skip to main content

BaseLayoutItem.TextSize Property

Gets or sets the size of the text region.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[XtraSerializableProperty]
[DXCategory("Text")]
public virtual Size TextSize { get; set; }

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