Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ElementDescriptionVersion IntroducedPro Version Introduced
<Button>A button control associated with a command.1.03.2
<Commands>Predefined list of commands that can be used by buttons anywhere on the ribbon.1.03.2
<Page>A page in the Backstage.1.03.2
<SplitButton>A button control with a drop down that can contain other controls.1.03.2

Attributes

This element supports the following attributes:

AttributeDescriptionVersion IntroducedPro Version Introduced
CaptionThe text to appear on the button.1.03.2
EnabledThe command's default enabled state.1.03.2
KeyThe unique identifier of this command. Must be unique among all other commands. (Required)1.03.2
KeyboardTipThe keyboard tooltip that appears when the user holds the Alt key.1.03.2
LargeIconThe icon used if the button is large.1.03.2
ShortcutThe keyboard shortcut for this command.1.03.2
SmallIconThe icon used if the button is small.1.03.2
TooltipThe text to appear when the user hovers over the button.1.03.2

Caption

The Caption can be any text. When the command is associated to a button, this is the text that will appear on the button. You can omit the caption if you don't want the button to display text, though keep in mind that some buttons do not display a caption depending on where they appear on the ribbon.

...