Click or drag to resize
PortalUIHelperEnsureBootstrapBodyClass Method
Ensures the bootstrap CSS class for specified body CSS class string if it is allowed for view mode.

Namespace: CMS.PortalEngine.Web.UI
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 11.0.0
Syntax
C#
public static void EnsureBootstrapBodyClass(
	ref string bodyClass,
	ViewModeEnum viewMode,
	Page page
)

Parameters

bodyClass
Type: SystemString
The body class.
viewMode
Type: CMS.PortalEngineViewModeEnum
The view mode.
page
Type: System.Web.UIPage
The current page.
See Also