<designerMenuItem> Configuration Element

This element specifies an item to include within a menu or the shortcut menu in the Visual Designer.

Configuration Element Tree Structure

OR

<editLive>
     ...
     <menuBar>
          <menu>
               <designerMenuItem ... />
          </menu>
     </menuBar>
     ...
</editLive>

Required Attributes

name

This attribute gives the name for the designer menu item. For use within a <menu> element it must be one of the following:

  • ControlProperties - The Control Properties... command.

  • ExportXSLT - The Export StyleSheet command

  • ExportXSD - The Export Schema command.

Examples

The following example demonstrates how to add the FieldProperties, ExportXSLT and ExportXSD items to the Designer menu. Thus the instance of the Visual Designer using this configuration will have only a Designer menu with these items.

<editLive>
    ...
    <menuBar>
        <menu name="Designer">
            <designerMenuItem name="FieldProperties"/>
            <designerMenuItem name="ExportXSLT"/>
            <designerMenuItem name="ExportXSD"/>
        </menu>
    </menuBar>
    ...
</editLive> 

Remarks

The <designerMenuItem> element can appear multiple times within the <menu> element.

The <designerMenuItem> element must be a complete tag, it cannot contain a tag body. Therefore the tag must be closed in the same line. See the example below:

<designerMenuItem name=... />