Skip to main content
A newer version of this page is available. .

LabelControl.AutoSizeInLayoutControl Property

Gets or sets whether the editor’s width is changed to display the editor’s content in its entirety. This property is in effect only when the editor resides within a Layout Hierarchical Structure.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Properties")]
public override bool AutoSizeInLayoutControl { get; set; }

Property Value

Type Description
Boolean

true, if the editor’s width is changed to display the editor’s content in its entirety; otherwise, false.

Remarks

The AutoSizeInLayoutControl property is equivalent to the LabelControl.AutoSizeMode property but is in effect when the label resides within a Layout Hierarchical Structure. The layout control itself provides various means to limit control sizes and specify the ranges through which these sizes can vary. See the Size Constraints article to learn more.

See Also