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.v20.1.dll

Declaration

[DXCategory("Properties")]
public override bool AutoSizeInLayoutControl { get; set; }
<DXCategory("Properties")>
Public Overrides Property AutoSizeInLayoutControl As Boolean

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 and Alignment article to learn more.

See Also