Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPWeb.Theme property

NOTE: This API is now obsolete.

Gets the name of the theme that is applied to the website.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ObsoleteAttribute("This property applies to SharePoint 2007 theming and is no longer functional", 
	false)]
[SubsetCallableIncludeObsoleteMemberAttribute]
public string Theme { get; }

Property value

Type: System.String
A string that contains the name of the theme.
Caution noteCaution

This API is deprecated; use it only when the UI is in backward compatibility mode (SPWeb.UIVersion = 3).

Use the ApplyTheme method to set the theme for a site.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.