menuitemgroup

Purpose

Container for menu items used to provide visual grouping of a subset in a single pane.

Contains

Contained by

Attributes

Attribute Description Type Default Options Use
class Assigns a class name to an element xs:NMTOKEN none    optional 
expr An MCS expression xs:string none    optional 
id Assigns an identifier to an element xs:ID none    optional 

Attribute groups

Example

The welcome.mlyt layout can be found in the MCS/repository/xml-repository directory.

<?xml version="1.0" encoding="UTF-8"?>
<canvas layoutName="/welcome.mlyt" pageTitle="menuitemgroup">
  <menu pane="congratulations" title="Menu">
    <label>Main Menu</label>
    <menuitemgroup>
      <menuitem href="home.xml" text="Home"/>
      <menuitem href="specials.xml" text="Special Offers"/>
    </menuitemgroup>
    <menuitemgroup>
      <menuitem href="largesys.xml" text="Large Systems"/>
      <menuitem href="medsys.xml" text="Medium Systems"/>
      <menuitem href="smallsys.xml" text="Small Systems"/>
    </menuitemgroup>
  </menu>
  <pane name="background">
    <p>Welcome</p>
  </pane>
</canvas>

Related topics