Skip to main content

RadioButtonSettings.Native Property

Gets or sets a value specifying whether a RadioButton is rendered using a native HTML radio button element.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool Native { get; set; }

Property Value

Type Description
Boolean

true if a RadioButton should be rendered using standard HTML elements; otherwise, false.

Remarks

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