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


public bool AutoResizeWithContainer { get; set; }

Property Value

Type Default Description


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


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 (to deal with some bugs in Internet Explorer), 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