Skip to main content
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
  • 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 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

public static class RenderHelper

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.

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.

Inheritance

Object
RenderHelper
See Also