Controls Element (CommandUIDefinition)

Applies to: SharePoint Foundation 2010

Contains elements that define controls.

<Controls
     Id="Text"
/>

Attributes

Attribute

Description

Id

Required. Identifies the element. The value can be a string representation of a GUID or a unique term such as "Ribbon.Library.Share.NewRibbonCheckBox".

Child Elements

Button

CheckBox

ComboBox

DropDown

FlyoutAnchor

GalleryButton

Label

MRUSplitButton

Spinner

SplitButton

TextBox

ToggleButton

Parent Elements

CommandUIDefinition

Occurrences

Minimum: 0

Maximum: 1