Share via


2.2.100 MenuItem

Target namespace: http://schemas.microsoft.com/office/mailappversionoverrides

Referenced by: MenuItems

Specifies a user interface extension point that displays as an item in a menu control.

Child Elements:

Label: A ShortResourceReference element that specifies the label of the element.

Supertip: A Supertip element that specifies the supertooltip of the element.

Icon: An IconList element that specifies the list of icons to be used in this UI element.

Action: An Action element that specifies what happens when the item is triggered by the user.

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:sequence>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).