Skip to main content

EditorStyles.Native Property

Gets or sets a value specifying whether an editor (or each DevExpress editor of a control to which the current setting is applied) is rendered using the corresponding native HTML element.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public bool Native { get; set; }

Property Value

Type Default Description
Boolean false

true if an editor should be rendered using the relative standard HTML element; otherwise, false.


Some DevExpress editors (such as ASPxTextBox, ASPxMemo, ASPxListBox, ASPxComboBox and ASPxButton) can be rendered as native HTML elements of corresponding types (such as INPUT elements of the TEXT or BUTTON type, or SELECT elements). For an individual editor, this capability is controlled by its Native property. Use the EditorStyles‘s Native property to enable native rendering for all editors to which the EditorStyles object’s settings are applied.

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

See Also