Skip to main content
Tab

ListBoxProperties.Native Property

Gets or sets a value specifying whether a list box editor is rendered as a native HTML list box.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Boolean false

true if a list box control is rendered as a standard HTML list box; otherwise, false.

Remarks

By default, the Native property is set to false, and a list box 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 list box editor is rendered using a standard HTML element of the SELECT type. In this case, list box 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.

In the native mode, list box does not support on-demand item loading and CheckColumn selection mode.

Note

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

See Also