Поделиться через


Схема ленты сервера

Дата последнего изменения: 1 ноября 2010 г.

Применимо к: SharePoint Foundation 2010

Схема сервера определяет структуру XML-документов, настраивающих сервера.

Определение XML-схемы

XML-документ, настраивающий сервера, должен пройти проверку соответствия схеме, определенной в файле cui.xsd. Этот файл находится в следующем каталоге: %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\XML.

Элементы

В следующем списке приводятся связи между элементами в определении схемы сервера.

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

См. также

Ссылка

Элемент CommandUIDefinition

Концепции

Стандартный блок: лента сервера