RenderHelper Class
Exposes static helper methods that create and set up ASP.NET Web Forms controls.
Namespace: DevExpress.ExpressApp.Web
Assembly: DevExpress.ExpressApp.Web.v22.1.dll
Declaration
Remarks
The RenderHelper is an auxiliary class. It exposes static helper methods that instantiate ASP.NET Web Forms controls. These methods ensure that the created controls are properly set up to maintain a consistent visual style in an XAF ASP.NET Web Forms application’s UI. Use the following static methods to instantiate ASP.NET Web Forms controls in your applications:
The Required Control | The Static Method That Creates and Sets Up the Control |
---|---|
ASPxButton | RenderHelper.CreateASPxButton |
ASPxCheckBox | RenderHelper.CreateASPxCheckBox |
ASPxComboBox | RenderHelper.CreateASPxComboBox |
ASPxDateEdit | RenderHelper.CreateASPxDateEdit |
ASPxHyperlink | RenderHelper.CreateASPxHyperLink |
ASPxImage | RenderHelper.CreateASPxImage |
ASPxLabel | RenderHelper.CreateASPxLabel |
ASPxMemo | RenderHelper.CreateASPxMemo |
ASPxMenu | RenderHelper.CreateASPxMenu |
ASPxNavBar | RenderHelper.CreateASPxNavBar |
ASPxPageControl | RenderHelper.CreateASPxPageControl |
ASPxPopupMenu | RenderHelper.CreateASPxPopupMenu |
ASPxRoundPanel | RenderHelper.CreateASPxRoundPanel |
ASPxSpinEdit | RenderHelper.CreateASPxSpinEdit |
ASPxTextBox | RenderHelper.CreateASPxTextBox |
TableEx | RenderHelper.CreateTable |
Whenever you need to instantiate an ASP.NET Web Forms control, instead of manual instantiation use the static RenderHelper‘s methods.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the RenderHelper class.
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.