RadioButtonListSettings.Native Property

Gets or sets a value specifying whether a radio button list is rendered using native HTML radio button elements.

Namespace: DevExpress.Web.Mvc

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

Declaration

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

Property Value

Type Description
Boolean

true if a radio button list should be rendered using standard HTML elements; otherwise, false.

Remarks

By default, the Native property is set to false, and a radio button list 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 radio button list is rendered using standard HTML input elements of the radio type. In this case, a radio button list 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