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: 8.2.23
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