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

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

Parameters

bodyClass
Type: System.String
The body class.
viewMode
Type: CMS.PortalEngine.ViewModeEnum
The view mode.
page
Type: System.Web.UI.Page
The current page.
See Also