Export (0) Print
Expand All

PublishingMenu class

A user interface (UI) component that displays several actions that can be performed by authors in Microsoft SharePoint Foundation Publishing.

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)

[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

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft