RenderHelper.CreateASPxMenu(ControlRenderMode) Method
OBSOLETE
Use the CreateASPxMenu method instead.
Creates and sets up an instance of the ASPxMenu control.
Namespace: DevExpress.ExpressApp.Web
Assembly: DevExpress.ExpressApp.Web.v24.1.dll
NuGet Package: DevExpress.ExpressApp.Web
Declaration
[Obsolete("Use the CreateASPxMenu() method instead.")]
public static ASPxMenu CreateASPxMenu(
ControlRenderMode renderMode
)
Parameters
Name | Type | Description |
---|---|---|
renderMode | ControlRenderMode | A ControlRenderMode enumeration value that specifies whether the control is rendered by using semantic or classic render mode. |
Returns
Type | Description |
---|---|
ASPxMenu | An instance of the ASPxMenu control. |
Remarks
Do not instantiate the Table 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.
See Also