AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

CMSBaseMasterPage..::..SetTheme Method

Applies the current user's theme preference as a CSS class on the specified body element.

Namespace:  AdvantageCMS.Core.Admin.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public void SetTheme(
	HtmlControl body
)

Parameters

body
Type: HtmlControl
The HTML body control to apply the theme class to.