Class ThemeManager
Extension class for the Web object useful to apply custom Themes
Inheritance
System.Object
ThemeManager
Namespace: PnP.Framework.Utilities.Themes
Assembly: PnP.Framework.dll
Syntax
public static class ThemeManager : object
Methods
ApplyTheme(Web, SharePointTheme, String)
ApplyTheme(Web, String, String)
Extension method to apply a Theme to a target web
Declaration
public static Boolean ApplyTheme(this Web web, String jsonTheme, String themeName = null)
Parameters
Web
web
|
String
jsonTheme
|
String
themeName
|
Returns
Boolean
|
ApplyThemeAsync(Web, String, String)
Declaration
public static async Task<Boolean> ApplyThemeAsync(Web web, String jsonTheme, String themeName = null)
Parameters
Web
web
|
String
jsonTheme
|
String
themeName
|
Returns
Task<Boolean>
|