Share via


QuickAccessMenu Class

User interface (UI) component that displays common 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.QuickAccessMenu

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 QuickAccessMenu _
    Inherits WebControl
'Usage
Dim instance As QuickAccessMenu
[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 QuickAccessMenu : WebControl

Remarks

By default, the QuickAccessMenu control is located in the Page Editing Toolbar, where it displays the most common actions useful for editing and reviewing the current page. It appears as a set of clickable buttons. For a QuickAccessMenu to be correctly displayed with actions, it requires an IHierarchicalDataSource interface (such as an XmlConsoleDataSource) on the page to supply the list of actions appropriate for the current user and page context. Note that only one level of depth in the hierarchy is used when generating the set of buttons to display to the user.

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

QuickAccessMenu Members

Microsoft.SharePoint.Publishing.WebControls Namespace

DataSourceId

SeparatorClass