OverflowSection element (Server Ribbon)

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

Defines a section that can be created dynamically with a variable number of controls.

<OverflowSection
  DisplayMode="Small | Medium | Large | Menu | Menu16 | Menu32"
  DividerAfter="TRUE | FALSE"
  DividerBefore="TRUE | FALSE"
  TemplateAlias="Text"
  Type="OneRow | TwoRow | ThreeRow"
/>

Elements and attributes

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

Attributes

Attribute Description
DisplayMode
Optional. An enumeration value that determines how a control is rendered.
Small. Renders as a small icon without label text.
Medium. Renders as a 16-by-16-pixel icon with label text.
Large. Renders as a 32-by-32-pixel icon with label text.
Menu. Renders as a text-only menu item.
Menu16. Renders as a menu item with a 16-by-16-pixel icon.
Menu32. Renders as a menu item with a 32-by-32-pixel icon.
DividerAfter
Optional. TRUE to render a divider at the end of the section.
DividerBefore
Optional. TRUE to render a divider at the start of the section.
TemplateAlias
Optional. A string that a control can reference in its own TemplateAlias attribute. The TemplateAlias attribute is used to size and position controls within a group when a template is applied to the group.
Type
Optional. An enumeration value that specifies the type of section.
OneRow. The section renders with one row of controls.
TwoRow. The section renders with two rows of controls.
ThreeRow. The section renders with three rows of controls.

Child elements

None

Parent elements

Occurrences

  • Minimum: 0
  • Maximum: unbounded