MaxSize element (Server Ribbon)

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

Specifies the maximum size for a group of controls.

<MaxSize
  GroupId="Text"
  Id="Text"
  Sequence="Text"
  Size="Text"
/>

Elements and attributes

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

Attributes

Attribute Description
GroupId
Required. A string that identifies the Group that this element pertains to.
Id
Required. A string that identifies the element, such as "Ribbon.Library.Scaling.ViewFormat.MaxSize".
Sequence
Optional. An integer that specifies the order of placement among sibling XML nodes.
Size
Required. A string that corresponds to the value of the Title attribute of a Layout element that defines the size.

Child elements

None

Parent elements

Occurrences

  • Minimum: 0
  • Maximum: unbounded

See also