Back to Devexpress

BaseLayoutItem.TextSize Property

windowsforms-devexpress-dot-xtralayout-dot-baselayoutitem-f5753f2c.md

latest2.0 KB
Original Source

BaseLayoutItem.TextSize Property

Gets or sets the size of the text region.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
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

Text

TextLocation

TextToControlDistance

TextVisible

OptionsItemText

BaseLayoutItem Class

BaseLayoutItem Members

DevExpress.XtraLayout Namespace