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.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
#Remarks
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.