RenderHelper Class
Exposes static helper methods that create and set up ASP.NET Web Forms controls.
Namespace: DevExpress.ExpressApp.Web
Assembly: DevExpress.ExpressApp.Web.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Web
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.