Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

caption Attribute (menu Element)

Office 2007

Used as the caption for a menu.

Type

xsf:xdTitle

Remarks

The caption attribute is a required attribute of the menu element.

When used for a menu that is nested within a view, the caption is the top-level menu caption; when used for a menu that is nested within a toolbar, the caption is for the button on a drop-down menu; and when used for a menu that is nested inside another menu (cascading menu), the caption is the sub-menu caption.

Example

The following is an example of the caption attribute as it is used in the menu element:

<xsf:menuArea name="msoInsertMenu">
   <xsf:menu caption="&amp;Section">
      <xsf:button action="xCollection::insert" xmlToEdit="CD_10"
         caption="CD" showIf="always"></xsf:button>
      <xsf:button action="xCollection::insert" xmlToEdit="Track_14" 
         caption="Track" showIf="always"></xsf:button>
      <xsf:button action="xOptional::insert" xmlToEdit="Label_16" 
         caption="Label"></xsf:button>
   </xsf:menu>
</xsf:menuArea>


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.