Tab
A newer version of this page is available. Switch to the current version.

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.v18.2.dll

Declaration

[DefaultValue(false)]
public bool AutoResizeWithContainer { get; set; }
<DefaultValue(False)>
Public Property AutoResizeWithContainer As Boolean

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 (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