編輯

共用方式為


CommandUIDefinition element (CommandUIDefinitionsType complexType) (AppHostWebFeatures)

Note

The string app appears as part of or all of some element, attribute, and file names because SharePoint Add-ins were originally called "apps for SharePoint." To ensure backward compatibility, the schemas have not been changed.

Element information

Information Location
Element Type CommandUIDefinitionType
Namespace http://schemas.microsoft.com/sharepoint/
Schema File apphostwebfeatures.xsd

Definition

    <xs:element name="CommandUIDefinition" type="CommandUIDefinitionType" minOccurs="1" maxOccurs="unbounded"></xs:element>

Elements and attributes

If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.

Parent elements

Element

Type

Description

CommandUIDefinitions

CommandUIDefinitionsType


Child elements

Element

Type

Description

Button

ButtonType

CheckBox

CheckBoxType

ColorPicker

ColorPickerType

ComboBox

ComboBoxType

ContextualGroup

ContextualGroupType

ContextualTabs

ContextualTabsType

Controls

ControlsType

DropDown

DropDownType

FlyoutAnchor

FlyoutAnchorType

Gallery

GalleryType

GalleryButton

GalleryButtonType

Group

GroupType

Groups

GroupsType

GroupTemplate

GroupTemplateType

InsertTable

InsertTableType

Label

LabelType

MaxSize

MaxSizeType

Menu

MenuType

MenuSection

MenuSectionType

MRUSplitButton

MRUSplitButtonType

QAT

QATType

Ribbon

RibbonType

Scale

ScaleType

Scaling

ScalingType

Spinner

SpinnerType

SplitButton

SplitButtonType

Tab

TabType

Tabs

TabsType

TextBox

TextBoxType

ToggleButton

ToggleButtonType


Attributes

Attribute

Type

Required

Description

Possible values

Location

xs:string

required

Values of the xs:string type.