Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Target namespace: http://schemas.microsoft.com/office/taskpaneappversionoverrides
Referenced by: MenuItems
Specifies a user interface extension point that displays as an item in a menu control.
Child Elements:
OverriddenByRibbonApi: A boolean element that when set to TRUE specifies whether the UIControl will be excluded from the CustomTab when custom contextual tabs API is supported by the application. The value MUST be ignored by applications that do not support custom contextual tabs API.
Label: A ShortResourceReference element that specifies the label of the control.
Supertip: A Supertip element that specifies the tooltip of the control.
Icon: An IconList element that specifies the set of icons for this control.
Action: An Action element that specifies what happens when a menu item is triggered.
Enabled: A boolean element that specifies the initial enabled/disabled state of the control. By default, the control state is enabled. It MUST be ignored for everything but Workbook.
Attributes:
id: A ShortString attribute that specifies the unique identifier of this control within the form factor.
The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.
-
<xs:complexType name="MenuItem"> <xs:complexContent> <xs:extension base="UIControlWithOptionalIcon"> <xs:sequence> <xs:element name="Action" type="Action" minOccurs="1" maxOccurs="1"/> <xs:element name="Enabled" type="xs:boolean" minOccurs="0" maxOccurs="1" default="true"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType>
See section 5.7 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).