The SRP Ribbon Control is complex, with many nested controls and containers. XML is the perfect solution to simplifying the setup process. This section lists all the XML elements supported by the Init method.

ElementDescriptionVersion IntroducedPro Version Introduced
<AddControls>The root element for XML passed to AddControls.1.03.2
<AddGroups>The root element for XML passed to AddGroups.1.03.2
<AddTabs>The root element for XML passed to AddTabs.1.03.2
<Backstage>The list of buttons and pages in the popup that appears when the user clicks the system button.1.03.2
<Button>A button control associated with a command.1.03.2
<CheckBox>A check box control.1.03.2
<ComboBox>A combo box control.1.03.2
<Command>A single command that is associated to one or more buttons on the ribbon.1.03.2
<Commands>Predefined list of commands that can be used by buttons anywhere on the ribbon.1.03.2
<Control>The root element for the SRP Ribbon Control.1.03.2
<DateField>A date field control with a calendar drop down.1.03.2
<EditField>An edit field control.1.03.2
<Group>A single group that appears within a single tab and contains controls.1.03.2
<Item>A combo box item.1.03.2
<Label>A label control that only display some text.1.03.2
<Page>A page in the Backstage.1.03.2
<QuickAccessControls>A list of controls that appear in the quick access toolbar.1.03.2
<SplitButton>A button control with a drop down that can contain other controls.1.03.2
<Tab>A single tab that contains groups.1.03.2
<TabBarControls>The list of controls that appear on the right end of the tab bar area.1.03.2
<Tabs>The list of all available tabs.1.03.2
  • No labels