SPRibbon class

Represents a ribbon control on a page.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.Web.CommandUI.Ribbon
        Microsoft.SharePoint.WebControls.SPRibbon

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

Syntax

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

Remarks

This control renders a Microsoft SharePoint Foundation ribbon on a page.

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

SPRibbon members

Microsoft.SharePoint.WebControls namespace