Back to Devexpress

CheckBoxSettings.Native Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-checkboxsettings-1d988ea2.md

latest2.0 KB
Original Source

CheckBoxSettings.Native Property

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

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public bool Native { get; set; }
vb
Public Property Native As Boolean

Property Value

TypeDescription
Boolean

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

|

Remarks

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

See Also

Native Mode

CheckBox

CheckBoxSettings Class

CheckBoxSettings Members

DevExpress.Web.Mvc Namespace