Skip to main content
A newer version of this page is available. .

RenderHelper.CreateASPxButton() Method

Creates and sets up an instance of the ASPxButton control.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v18.2.dll

Declaration

public static ASPxButton CreateASPxButton()

Returns

Type Description
ASPxButton

An instance of the ASPxButton control.

Remarks

Do not instantiate the ASPxButton control in an XAF ASP.NET Web application manually. Instead, use this method. This will ensure that the created control is properly set up to maintain a consistent visual style in your application’s UI.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateASPxButton() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also