Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseLayoutItem.TextSize Property

Gets or sets the size of the text region.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Description
Size

A System.Drawing.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