RenderHelper.CreateASPxButton() Method
Creates and sets up an instance of the ASPxButton control.
Namespace: DevExpress.ExpressApp.Web
Assembly: DevExpress.ExpressApp.Web.v24.1.dll
NuGet Package: DevExpress.ExpressApp.Web
Declaration
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.
Related GitHub Examples
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.