BaseLayoutItem.TextSize Property
Gets or sets the size of the text region.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v19.2.dll
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TextSize property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.