PublishingMenu Class
A user interface (UI) component that displays several actions that can be performed by authors in Windows SharePoint Services Publishing.
Inheritance Hierarchy
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Microsoft.SharePoint.Publishing.WebControls.PublishingMenu
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class PublishingMenu _
Inherits WebControl
'Usage
Dim instance As PublishingMenu
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class PublishingMenu : WebControl
Remarks
By default, the PublishingMenu control is located in the Page Editing toolbar, where it displays actions useful for editing and reviewing the current page, as well as other options. It displays itself as a set of top-level menus, each of which has several actions available within it. For a PublishingMenu and its actions to be displayed correctly, it must have a IHierarchicalDataSource interface (such as an XmlConsoleDataSource) on the page to supply the list of actions appropriate for the current user and page context.
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
Microsoft.SharePoint.Publishing.WebControls Namespace
href