Export (0) Print
Expand All

SPTheme methods

SharePoint 2013

The SPTheme type exposes the following members.

  Name Description
Public method ApplyTo Applies this theme to the given web.
Public method Static member EnforceThemedStylesForWeb Causes the currently applied theme on the web to be re-applied.
Public method Static member EnsureThemedStylesForLocales Generate themed stylesheets for the specified set of locales using the currently applied theme.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetThemeFontByName Gets a theme font by font slot name.
Public method GetThemeShadeByName Gets a theme shade by name
Public method GetThemeShadeByNameOrNull(String) Gets a theme shade by name or null if no such theme shade exists in this theme
Public method GetThemeShadeByNameOrNull(String, Boolean) Gets a theme shade by name or null if no such theme shade exists in this theme
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Static member OnPostApplyTheme Performs operations needed after SPWeb.ThemedCssFolderUrl is updated. This includes calling SPWeb.Update()
Public method Static member Open(String, SPFile) Opens an SPTheme file with the given name and color palette.
Public method Static member Open(String, SPFile, SPFile) Opens an SPTheme file with the given name and color palette.
Public method Static member Open(String, SPFile, SPFile, Uri) Opens an SPTheme file with the given name and color palette.
Public method Static member OpenAppliedTheme Open the theme applied to the specified SPWeb if applicable.
Public method Static member OpenFromXml(SPFile) Opens an SPTheme from a sptheme XML file
Public method Static member OpenFromXml(SPFile, Boolean) Opens an SPTheme from a sptheme XML file
Public method ToString (Inherited from Object.)
Top
Show:
© 2015 Microsoft