Ribbon - Classe
Génère le rendu du Ruban Serveur sur une page.
N'utilisez pas les types ou les membres de l'espace de noms Microsoft.Web.CommandUI pour le développement dans un environnement SharePoint, mais utilisez plutôt SPRibbon et les types connexes dans l'espace de noms Microsoft.SharePoint.WebControls . Pour plus d'informations sur la personnalisation du ruban dans SharePoint Foundation voir The Ribbon in SharePoint Foundation.
Hiérarchie d’héritage
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Microsoft.Web.CommandUI.Ribbon
Microsoft.SharePoint.WebControls.SPRibbon
Espace de noms : Microsoft.Web.CommandUI
Assembly : Microsoft.Web.CommandUI (dans Microsoft.Web.CommandUI.dll)
Syntaxe
'Déclaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class Ribbon _
Inherits WebControl _
Implements IPostBackDataHandler
'Utilisation
Dim instance As Ribbon
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class Ribbon : WebControl, IPostBackDataHandler
Cohérence de thread
Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.