Click or drag to resize
UIContextHelperEnsureBootstrapBodyClass 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: SystemString
The body class.
viewMode
Type: CMS.PortalEngineViewModeEnum
The view mode.
page
Type: System.Web.UIPage
The current page.
See Also