2.3.6 CT_BackstageDropDown

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

Referenced by: CT_GroupControls, CT_GroupBox, CT_LayoutContainer

Specifies a Backstage drop-down control.

Child Elements:

item: A CT_BackstageItem element, as specified in section 2.3.12.

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.

idQ: An ST_QID attribute, as specified in section 2.4.22, that specifies the qualified identifier of a control. This attribute is used to reference controls or containers created by other Custom UI documents. The id, idQ, and idMso attributes are mutually exclusive. Exactly one of these attributes MUST be specified on all controls.

tag: An ST_String attribute, as specified in section 2.4.24, that specifies an arbitrary string that provides additional information about this control during callback function calls. If this attribute is omitted, the value defaults to an empty string.

alignLabel: An ST_alignLabel attribute, as specified in section 2.4.2, that specifies how the label of this control is aligned relative to the control. If this attribute is omitted, the label defaults to the top left alignment.

expand: An ST_expand attribute, as specified in section 2.4.13, that specifies how this control expands within its container. If this attribute is omitted, the control does not expand.

enabled: A Boolean attribute that specifies the enabled state of this control. The enabled and getEnabled attributes are mutually exclusive. They MUST NOT be used together. If neither attribute is specified, the control defaults to being enabled.

getEnabled: An ST_Delegate attribute that specifies the name of a callback function that is called to determine the enabled state of this control. The enabled and getEnabled attributes are mutually exclusive. They MUST NOT be used together. If neither attribute is specified, the control defaults to being enabled.

label: An ST_String attribute that specifies a string that is displayed as the label of this control. The label and getLabel attributes are mutually exclusive. They MUST NOT be used together. If neither attribute is specified, a label is not displayed.

getLabel: An ST_Delegate attribute that specifies the name of a callback function that is called to determine the label of this control. The label and getLabel attributes are mutually exclusive. They MUST NOT be used together. If neither attribute is specified, a label is not displayed.

visible: A Boolean attribute that specifies the visibility state of this control. The visible and getVisible attributes are mutually exclusive. They MUST NOT be used together. If neither attribute is specified, the control defaults to being visible.

getVisible: An ST_Delegate attribute that specifies the name of a callback function that is called to determine the visibility state of this control. The visible and getVisible attributes are mutually exclusive. They MUST NOT be used together. If neither attribute is specified, the control defaults to being visible.

onAction: An ST_Delegate attribute, as specified in section 2.4.12, that specifies the name of a callback function that is called when this control is invoked by the user.

screentip: An ST_String attribute, as specified in section 2.4.24, that specifies a string that is displayed as the tooltip for this control. The screentip and getScreentip attributes are mutually exclusive. They MUST NOT be used together. If neither attribute is specified, a tooltip is not displayed.

getScreentip: An ST_Delegate attribute that specifies the name of a callback function that is called to determine the tooltip of this control. The screentip and getScreentip attributes are mutually exclusive. They MUST NOT be used together. If neither attribute is 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. The supertip and getSupertip attributes are mutually exclusive. They MUST NOT be used together. If neither attribute is specified, an Enhanced ScreenTip is not displayed.

getSupertip: An ST_Delegate attribute that specifies the name of a callback function that is called to determine the Enhanced ScreenTip of this control. The supertip and getSupertip attributes are mutually exclusive. They MUST NOT be used together. If neither attribute is specified, an Enhanced ScreenTip is not displayed.

keytip: An ST_Keytip attribute, as specified in section 2.4.19, that specifies a string that is displayed as the KeyTip for this control. The keytip and getKeytip attributes are mutually exclusive. They MUST NOT be used together. If neither attribute is specified, a KeyTip is not displayed.

getKeytip: An ST_Delegate attribute that specifies the name of a callback function that is called to determine the KeyTip for this control. The keytip and getKeytip attributes are mutually exclusive. They MUST NOT be used together. If neither attribute is specified, a KeyTip is not displayed.

getSelectedItemIndex: An ST_Delegate attribute, as specified in section 2.4.12, that specifies the name of a callback function that is called to determine which selection item is selected, identified by index. If this attribute is omitted, the first item is initially selected.

sizeString: An ST_String attribute, as specified in section 2.4.24, that specifies a string for which the size is used to determine the size of this control. If this attribute is omitted, the control has an application-defined size.

getItemCount: An ST_Delegate attribute that specifies the name of a callback function that is called to determine the number of selection items in this control. If this attribute is omitted, the control displays the selection items that are specified as child elements. If this attribute is omitted and no child items are specified, the control is empty. If both this attribute and child items are specified, the child items are ignored.

getItemLabel: An ST_Delegate attribute that specifies the name of a callback function that is called to determine the labels of dynamically created selection items, identified by index. If this attribute is omitted, dynamically created selection items do not display labels.

getItemID: An ST_Delegate attribute that specifies the name of a callback function that is called to determine the identifiers of dynamically created selection items, identified by index. If this attribute is omitted, dynamically created selection items have blank identifiers.

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

 <xsd:complexType name="CT_BackstageDropDown">
   <xsd:sequence>
     <xsd:element name="item" type="CT_BackstageItem" minOccurs="0" maxOccurs="1000"/>
   </xsd:sequence>
   <xsd:attributeGroup ref="AG_IDCustom"/>
   <xsd:attributeGroup ref="AG_AlignAttributes"/>
   <xsd:attributeGroup ref="AG_Expand"/>
   <xsd:attributeGroup ref="AG_Enabled"/>
   <xsd:attributeGroup ref="AG_Label"/>
   <xsd:attributeGroup ref="AG_Visible"/>
   <xsd:attributeGroup ref="AG_Action"/>
   <xsd:attributeGroup ref="AG_Screentip"/>
   <xsd:attributeGroup ref="AG_Keytip"/>
   <xsd:attribute name="getSelectedItemIndex" type="ST_Delegate" use="optional"/>
   <xsd:attribute name="sizeString" type="ST_String" use="optional"/>
   <xsd:attribute name="getItemCount" type="ST_Delegate" use="optional"/>
   <xsd:attribute name="getItemLabel" type="ST_Delegate" use="optional"/>
   <xsd:attribute name="getItemID" type="ST_Delegate" use="optional"/>
 </xsd:complexType>

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