Partager via


Schéma du Ruban serveur

Dernière modification : lundi 1 novembre 2010

S’applique à : SharePoint Foundation 2010

Le schéma du Ruban serveur définit la structure des documents XML qui personnalisent le Ruban serveur.

Définition de schéma XML

Un document XML qui personnalise le Ruban serveur doit être conforme au schéma défini dans le fichier cui.xsd. Ce fichier se trouve dans le répertoire suivant : %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\XML.

Éléments

La liste suivante indique la hiérarchie des éléments de la définition de schéma du Ruban serveur.

<CommandUI>

    <Ribbon>

        <Tabs>

            <Tab>

                <Groups>

                    <Group>

                        <Controls>

                            <Button/>

                            <CheckBox/>

                            <ComboBox>

                                <Menu>

                                    <MenuSection>

                                        <Controls>

                                            <Button/>

                                            <ColorPicker>

                                                <Colors>

                                                    <Color/>

                                                <Colors/>

                                            </ColorPicker>

                                            <FlyoutAnchor>

                                                <Menu>

                                                </Menu>

                                            </FlyoutAnchor>

                                            <InsertTable/>

                                            <ToggleButton/>

                                        </Controls>

                                        <Gallery>

                                            <GalleryButton/>

                                        </Gallery>

                                    </MenuSection>

                                </Menu>

                            </ComboBox>

                            <DropDown>

                                <Menu>

                                </Menu>

                            </DropDown>

                            <FlyoutAnchor>

                                <Menu>

                                </Menu>

                            </FlyoutAnchor>

                            <GalleryButton/>

                            <Label/>

                            <MRUSplitButton>

                                <Menu>

                                </Menu>

                            <Spinner>

                                <Unit>

                                    <UnitAbbreviation/>

                                </Unit>

                            </Spinner>

                            <SplitButton>

                                <Menu>

                                </Menu>

                            </SplitButton>

                            <TextBox/>

                            <ToggleButton/>

                        </Controls>

                    </Group>

                </Groups>

                <Scaling>

                    <MaxSize/>

                    <Scale/>

                </Scaling>

            </Tab>

        </Tabs>

        <ContextualTabs>

            <ContextualGroup>

                <Tab>

                </Tab>

            </ContextualGroup>

        </ContextualTabs>

    </Ribbon>

    <Templates>

        <RibbonTemplates>

            <GroupTemplate>

                <Layout>

                    <Section>

                        <Row>

                            <ControlRef/>

                            <Strip>

                                <ControlRef/>

                            </Strip>

                            <OverflowArea/>

                        </Row>

                    </Section>

                    <OverflowSection/>

                </Layout>

            </GroupTemplate>

        </RibbonTemplates>

    </Templates>

    <QAT>

        <Controls>

        </Controls>

    </QAT>

    <Jewel>

        <Menu>

        </Menu>

    </Jewel>

</CommandUI>

Voir aussi

Référence

CommandUIDefinition, élément

Concepts

Bloc de construction : Ruban serveur