Skip to main content
Tab

ASPxTextEdit.AutoResizeWithContainer Property

Gets or sets a value that specifies whether the editor, whose width is a percentage value, can be resized automatically when the width of its resizable container changes.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool AutoResizeWithContainer { get; set; }

Property Value

Type Default Description
Boolean false

true to enable the editor’s automatic resizing feature; otherwise, false.

Remarks

By default, the AutoResizeWithContainer property is set to false. In this case, a text editor’s Width property defined as a percentage is recalculated in pixels, and the editor can’t be resized automatically when changing the width of its resizable container (for instance, when resizing a browser’s window).

To make a text editor resizable, set the AutoResizeWithContainer property to true.

See Also