Tab

MemoProperties.Native Property

Gets or sets a value specifying whether a memo editor is rendered as a native HTML text area element.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

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

Property Value

Type Default Description
Boolean

false

true if a memo control is rendered as a standard HTML text area; otherwise, false.

Remarks

By default, the Native property is set to false, and a memo editor is rendered so that it fully supports customization of its appearance (by applying DevExpress Themes or/and changing different properties).

If the Native property is set to true, a memo editor is rendered using a standard HTML element of the TEXTAREA type. In this case, memo appearance depends upon how a client browser interprets and displays the corresponding HTML element.

Note that native rendering results in less HTML code, improving the application’s overall performance.

NOTE

The Native property synchronizes its value with the editor’s ASPxMemo.Native property.

See Also