ThmxTheme Methods
SharePoint 2010
The ThmxTheme type exposes the following members.
| Name | Description | |
|---|---|---|
|
ApplyTo(String) | Applies the current theme to the given Cascading Style Sheet (CSS) file. |
|
ApplyTo(SPWeb, Boolean) | Applies the current theme to the given web. |
|
Close | Closes the theme and the underlying package. |
|
EnforceThemedStylesForWeb | Reapplies the currently applied theme on the web site. |
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GenerateThemedStyles(Boolean, SPWeb) | Ensures that the theme has been applied to all themable styles and that the themed styles are updated. |
|
GenerateThemedStyles(Boolean, SPWeb, String) | Ensures that this theme has been applied to all themable styles and that corresponding themed styles are updated. |
|
GetHashCode | (Inherited from Object.) |
|
GetManagedThemes | Gets the list of managed themes available in the theme gallery of the given site collection. |
|
GetThemedCssUrl | Returns the URL where the themed Cascading Style Sheet (CSS) can be retrieved. |
|
GetThemedCssUrlForEncodedUrl | Returns the URL where the themed Cascading Style Sheet (CSS) can be retrieved. |
|
GetThemeFontByName | Gets a theme font by name. |
|
GetThemeShadeByName | Gets a theme shade by name. |
|
GetThemeUrlForWeb | Gets the server-relative URL for the ThmxTheme object whose theme is applied to the given SharePoint Web site. |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
Open(Package) | Opens the specified theme package. |
|
Open(Stream) | Opens a theme package on the specified stream. |
|
Open(SPFile) | Opens the specified theme package. |
|
Open(SPSite, String) | Opens the theme package associated with the specified SharePoint Web site and server-relative URL. |
|
Open(Stream, FileMode, FileAccess) | Opens a theme package using the given I/O stream, file mode, and file access. |
|
Open(SPFile, Boolean, FileMode, FileAccess) | Opens the specified theme package using the provided values for version, file mode, and file access. |
|
RemoveThemeFromWeb | Sets the theme on the web to none. |
|
Save | Saves any changes made to this theme to the underlying stream. |
|
SetThemeUrlForWeb(SPWeb, String) | Applies the theme pointed to by the specified URL to the specified web. |
|
SetThemeUrlForWeb(SPWeb, String, Boolean) | Applies the theme pointed to by the specified URL to the specified web. |
|
ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
IDisposable.Dispose | Releases any unmanaged resources in use by an object of this class. |