RenderHelper.CreateASPxMenu(ControlRenderMode) Method

Obsolete. Creates and sets up an instance of the ASPxMenu control.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v18.2.dll

Declaration

[Obsolete("Use the CreateASPxMenu() method instead.")]
public static ASPxMenu CreateASPxMenu(
    ControlRenderMode renderMode
)
<Obsolete("Use the CreateASPxMenu() method instead.")>
Public Shared Function CreateASPxMenu(
    renderMode As ControlRenderMode
) As ASPxMenu

Parameters

Type Name Description
ControlRenderMode renderMode

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.

Do not instantiate the Table control in an XAF ASP.NET Web 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