Compartilhar via


OverflowSection Element

Applies to: SharePoint Foundation 2010

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"
/>

Attributes

Attribute

Description

DisplayMode

Optional. An enumeration value that determines how a control is rendered. If the control is a drop-down menu the value must be Medium.

  • 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

Layout

Occurrences

Minimum: 0

Maximum: unbounded