SPTheme members
Represents a theme as described in an SPTheme XML file.
The SPTheme type exposes the following members.
Properties
Name | Description | |
---|---|---|
AccessibleDescription | Gets an accessible description of this theme. | |
BackgroundImageUri | Gets the URI of the background image for this theme or null if none is set. | |
IsInverted | Gets whether this theme is inverted (light foreground on a dark background). | |
Name | Gets the name of this theme. |
Top
Methods
Name | Description | |
---|---|---|
ApplyTo | Applies this theme to the given web. | |
EnforceThemedStylesForWeb | Causes the currently applied theme on the web to be re-applied. | |
EnsureThemedStylesForLocales | Generate themed stylesheets for the specified set of locales using the currently applied theme. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetThemeFontByName | Gets a theme font by font slot name. | |
GetThemeShadeByName | Gets a theme shade by name | |
GetThemeShadeByNameOrNull(String) | Gets a theme shade by name or null if no such theme shade exists in this theme | |
GetThemeShadeByNameOrNull(String, Boolean) | Gets a theme shade by name or null if no such theme shade exists in this theme | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnPostApplyTheme | Performs operations needed after SPWeb.ThemedCssFolderUrl is updated. This includes calling SPWeb.Update() | |
Open(String, SPFile) | Opens an SPTheme file with the given name and color palette. | |
Open(String, SPFile, SPFile) | Opens an SPTheme file with the given name and color palette. | |
Open(String, SPFile, SPFile, Uri) | Opens an SPTheme file with the given name and color palette. | |
OpenAppliedTheme | Open the theme applied to the specified SPWeb if applicable. | |
OpenFromXml(SPFile) | Opens an SPTheme from a sptheme XML file | |
OpenFromXml(SPFile, Boolean) | Opens an SPTheme from a sptheme XML file | |
ToString | (Inherited from Object.) |
Top