Ribbon class

Renders the Server ribbon on a page.
Do not use types or members of the Microsoft.Web.CommandUI namespace for development within a SharePoint environment, but instead use SPRibbon and related types in the Microsoft.SharePoint.WebControls namespace. For information about customizing the ribbon in SharePoint Foundation see The Ribbon in SharePoint Foundation.

Inheritance hierarchy

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

Namespace:  Microsoft.Web.CommandUI
Assembly:  Microsoft.Web.CommandUI (in Microsoft.Web.CommandUI.dll)

Syntax

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

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

Ribbon members

Microsoft.Web.CommandUI namespace