Back to Devexpress

ButtonControlStyles.Native Property

aspnet-devexpress-dot-web-dot-buttoncontrolstyles.md

latest1.8 KB
Original Source

ButtonControlStyles.Native Property

Gets or sets a value specifying whether buttons are rendered as native HTML button elements.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

true if buttons are rendered as standard HTML buttons; otherwise, false.

|

Remarks

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

If the Native property is set to true, each button is rendered using a standard HTML input element of the button type. In this case, button 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

ButtonControlStyles Class

ButtonControlStyles Members

DevExpress.Web Namespace