Ribbon 类

Renders the 服务器功能区 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.

继承层次结构

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

命名空间:  Microsoft.Web.CommandUI
程序集:  Microsoft.Web.CommandUI(位于 Microsoft.Web.CommandUI.dll 中)

语法

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

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

Ribbon 成员

Microsoft.Web.CommandUI 命名空间