Item element
Specifies an item in a menu.
Add-in type: Task pane, Mail
Valid only in these VersionOverrides schemas:
- Task pane 1.0
- Mail 1.0
- Mail 1.1
For more information, see Version overrides in the add-in only manifest.
Associated with these requirement sets:
- AddinCommands 1.1 when the parent <VersionOverrides> is type Taskpane 1.0.
- Mailbox 1.3 when the parent <VersionOverrides> is type Mail 1.0.
- Mailbox 1.5 when the parent <VersionOverrides> is type Mail 1.1.
Child elements
Element | Required | Description |
---|---|---|
Label | Yes | The text for the menu item. |
Supertip | Yes | The supertip for the menu item. |
Icon | No | An image for the menu item. |
Action | Yes | Specifies the action to perform. There can be only one <Action> child of an <Item> element. |
Enabled | No | Specifies whether the menu item is enabled when the add-in launches. |
OverriddenByRibbonApi | No | Specifies whether the menu item should appear on application and platform combinations that support custom contextual tabs. If used, it must be the first child element. |
Label
Specifies the text for the button by means of its only attribute, resid, which can be no more than 32 characters and must be set to the value of the id attribute of a <String> element in the <ShortStrings> child of the Resources element.
Add-in type: Task pane, Mail
Valid only in these VersionOverrides schemas:
- Task pane 1.0
- Mail 1.0
- Mail 1.1
For more information, see Version overrides in the add-in only manifest.
Associated with these requirement sets:
- AddinCommands 1.1 when the parent <VersionOverrides> is type Taskpane 1.0.
- Mailbox 1.3 when the parent <VersionOverrides> is type Mail 1.0.
- Mailbox 1.5 when the parent <VersionOverrides> is type Mail 1.1.
Examples
For examples, see Control of type Menu.
Office Add-ins