Tab

ASPxCheckBox.Native Property

Gets or sets a value specifying whether a control is rendered as a native HTML check box element.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

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

Property Value

Type Default Description
Boolean

false

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

Remarks

By default, the Native property is set to false, and a control is rendered with fully supported customization of its appearance (by applying DevExpress Themes or/and changing different properties).

If the Native property is set to true, a control is rendered using a standard HTML input element (e.g. of the checkbox type, radio type). In this case, a control 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

In the native mode, ASPxCheckBox does not support indeterminate check box state.

See Also