2.3.53 CT_Item

Target namespace: http://schemas.microsoft.com/office/2009/07/customui

Referenced by: CT_ComboBox, CT_DropDownRegular, CT_GalleryRegular, CT_Gallery

Specifies an item in a selection-type control.

Attributes:

id: An ST_UniqueID attribute, as specified in section 2.4.27, that specifies the identifier of a custom control. All custom controls MUST have unique identifiers. The id, idQ, and idMso attributes are mutually exclusive. Exactly one of these attributes MUST be specified on all controls.

label: An ST_String attribute, as specified in section 2.4.24, that specifies a string that is displayed as the label of this control. If this attribute is not specified, a label is not displayed.

image: An ST_Uri attribute, as specified in section 2.4.28, that specifies the relationship identifier of an image file that is used as the icon for this control. The image and imageMso attributes are mutually exclusive. They MUST NOT be used together. If neither attribute is specified, an icon is not displayed.

imageMso: An ST_ID attribute, as specified in section 2.4.17, that specifies the identifier of a built-in image that is used as the icon for this control. The image and imageMso attributes are mutually exclusive. They MUST NOT be used together. If neither attribute is specified, an icon is not displayed.

screentip: An ST_String attribute that specifies a string that is displayed as the tooltip for this control. If this attribute is not specified, a tooltip is not displayed.

supertip: An ST_String attribute that specifies a string that is displayed as the Enhanced ScreenTip of this control. If this attribute is not specified, an Enhanced ScreenTip is not displayed.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="CT_Item">
   <xsd:attribute name="id" type="ST_UniqueID" use="optional"/>
   <xsd:attribute name="label" type="ST_String" use="optional"/>
   <xsd:attribute name="image" type="ST_Uri" use="optional"/>
   <xsd:attribute name="imageMso" type="ST_ID" use="optional"/>
   <xsd:attribute name="screentip" type="ST_String" use="optional"/>
   <xsd:attribute name="supertip" type="ST_String" use="optional"/>
 </xsd:complexType>

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