編輯

共用方式為


Menu element (Server Ribbon)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Defines a menu control.

<Menu
  Id="Text"
  MaxWidth="Integer"
/>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
Id
Required. A string that identifies the element, such as "Ribbon.WikiPageTab.EditAndCheckout.SaveEdit.Menu".
MaxWidth
Optional. The maximum width in pixels.

Child elements

Parent elements

Occurrences

  • Minimum: 0
  • Maximum: 1