Skip to main content
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET 6.0+ platform documentation. This link will take you to the parent topic of the current section.

RenderHelper.CreateASPxButton() Method

Creates and sets up an instance of the ASPxButton control.

Namespace: DevExpress.ExpressApp.Web

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

NuGet Package: DevExpress.ExpressApp.Web

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 Forms 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