SmallBusinessWebsiteNoAdminStyleAction class

Sets the ThemeOverride to none in the HttpContext for pages within ~/_layouts and ~/catalog/ so they are not themed.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.Publishing.WebControls.SmallBusinessWebsiteNoAdminStyleAction

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SmallBusinessWebsiteNoAdminStyleAction _
    Inherits Control
'Usage
Dim instance As SmallBusinessWebsiteNoAdminStyleAction
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SmallBusinessWebsiteNoAdminStyleAction : Control

Remarks

In this case, Not Themed means to use the default SharePoint styling.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SmallBusinessWebsiteNoAdminStyleAction members

Microsoft.SharePoint.Publishing.WebControls namespace