This topic has not yet been rated - Rate this topic

ThmxTheme Methods

SharePoint 2010

The ThmxTheme type exposes the following members.

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