Поделиться через


PageRenderMode class

This control affects the mode in which a page is rendered when SharePoint "minimal download" mode is enabled. When the RenderModeType property is set to Standard, the containing page will always render in standard mode. When "minimal download" mode is disabled on an SPWeb, all pages render in standard mode regardless of this control.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.WebControls.SPControl
      Microsoft.SharePoint.WebControls.PageRenderMode

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class PageRenderMode _
    Inherits SPControl
'Usage
Dim instance As PageRenderMode
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class PageRenderMode : SPControl

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

PageRenderMode members

Microsoft.SharePoint.WebControls namespace