Page History
...
Element | Description | Version Introduced | Pro Version Introduced |
---|---|---|---|
<Backstage> | The list of buttons and pages in the popup that appears when the user clicks the system button. | 1.0 | 3.2 |
<Group> | A single group that appears within a single tab and contains controls. | 1.0 | 3.2 |
<QuickAccessControls> | A list of controls that appear in the quick access toolbar. | 1.0 | 3.2 |
<SplitButton> | A button control with a drop down that can contain other controls. | 1.0 | 3.2 |
<TabBarControls> | The list of controls that appear on the right end of the tab bar area. | 1.0 | 3.2 |
...
Element | Description | Appears | Version Introduced | Pro Version Introduced |
---|---|---|---|---|
<Command> | A single command that is associated to one or more buttons on the ribbon. | Zero or once | 1.0 | 3.2 |
...
The Command attribute lets you associate an existing command with this button. Associated a button to a command is the only way to set it's icon, caption, etc. If you omit this attribute, then you need to include a child <Command> element within the button element.
...
The Button element defines a button control. In order to set the button's caption, icon, and other attributes, you must associate it with a command. You can do this using either the Command attribute as explained above or by including a child <Command> element.
Example
Code Block |
---|
<Button Command="SAVE" /> <Button> <Command Key="SAVE_AS" Caption="Save As" KeyboardTip="A" LargeIcon="Images\32x32\save.png" SmallIcon="Images\16x16\save.png" Tooltip="Saves the document to the selected file." /> </Button> |