<Folder>
  <Folder name="Images" content="Link">Images/Folder.xml</Folder>
  <Instance name="TabPageResource">
    <Instance ref.Class="sample::ImagePage">
      <TabPage Text="&lt;Image/&gt;">
        <ToolstripCommand ref.Name="commandFileNewText" Text="Text File" Image-uri="res://MainWindow/ImagePage/Images/NewText.png"/>
        <ToolstripCommand ref.Name="commandFileNewXml" Text="Xml File" Image-uri="res://MainWindow/ImagePage/Images/NewXml.png"/>
        <ToolstripCommand ref.Name="commandFileOpen" Text="Open ..." Image-uri="res://MainWindow/ImagePage/Images/Open.png" ShortcutBuilder="Ctrl+O"/>
        <ToolstripCommand ref.Name="commandFileOpenText" Text="Text File ..." Image-uri="res://MainWindow/ImagePage/Images/NewText.png"/>
        <ToolstripCommand ref.Name="commandFileOpenXml" Text="Xml File ..." Image-uri="res://MainWindow/ImagePage/Images/NewXml.png"/>
        <ToolstripCommand ref.Name="commandFileSave" Text="Save" Image-uri="res://MainWindow/ImagePage/Images/Save.png" ShortcutBuilder="Ctrl+S"/>
        <ToolstripCommand ref.Name="commandFileSaveAs" Text="Save As ..." Image-uri="res://MainWindow/ImagePage/Images/SaveAs.png"/>
        <ToolstripCommand ref.Name="commandFileExit" Text="Exit"/>

        <ToolstripCommand ref.Name="commandEditUndo" Text="Undo" Image-uri="res://MainWindow/ImagePage/Images/EditUndo.png" ShortcutBuilder="Ctrl+Z"/>
        <ToolstripCommand ref.Name="commandEditRedo" Text="Redo" Image-uri="res://MainWindow/ImagePage/Images/EditRedo.png" ShortcutBuilder="Ctrl+Y"/>
        <ToolstripCommand ref.Name="commandEditCut" Text="Cut" Image-uri="res://MainWindow/ImagePage/Images/EditCut.png" ShortcutBuilder="Ctrl+X"/>
        <ToolstripCommand ref.Name="commandEditCopy" Text="Copy" Image-uri="res://MainWindow/ImagePage/Images/EditCopy.png" ShortcutBuilder="Ctrl+C"/>
        <ToolstripCommand ref.Name="commandEditPaste" Text="Paste" Image-uri="res://MainWindow/ImagePage/Images/EditPaste.png" ShortcutBuilder="Ctrl+V"/>
        <ToolstripCommand ref.Name="commandEditDelete" Text="Delete" Image-uri="res://MainWindow/ImagePage/Images/EditDelete.png"/>
        <ToolstripCommand ref.Name="commandEditSelect" Text="Select All" ShortcutBuilder="Ctrl+A"/>
        <ToolstripCommand ref.Name="commandEditFind" Text="Find ..." Image-uri="res://MainWindow/ImagePage/Images/EditFind.png" ShortcutBuilder="Ctrl+F"/>

        <Table AlignmentToParent="left:0 top:0 right:0 bottom:0" MinSizeLimitation="LimitToElementAndChildren">
          <att.Rows>
            <CellOption>composeType:MinSize</CellOption>
            <CellOption>composeType:MinSize</CellOption>
            <CellOption>composeType:Percentage percentage:1.0</CellOption>
          </att.Rows>
          <att.Columns>
            <CellOption>composeType:Percentage percentage:1.0</CellOption>
          </att.Columns>

          <Cell Site="row:0 column:0">
            <ToolstripMenuBar>
              <att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
              <MenuBarButton Text="File" Alt="F">
                <att.SubMenu-set>
                  <ToolstripGroupContainer>
                    <ToolstripGroup>
                      <MenuItemButton Text="New" Alt="N" Image-uri="res://MainWindow/ImagePage/Images/New.png">
                        <att.SubMenu-set>
                          <MenuItemButton Command-ref="commandFileNewText" Alt="T"/>
                          <MenuItemButton Command-ref="commandFileNewXml" Alt="X"/>
                        </att.SubMenu-set>
                      </MenuItemButton>
                      <MenuItemButton Command-ref="commandFileOpen" Alt="O"/>
                      <MenuItemButton Command-ref="commandFileSave" Alt="S"/>
                      <MenuItemButton Command-ref="commandFileSaveAs" Alt="A"/>
                    </ToolstripGroup>
                    <MenuItemButton Command-ref="commandFileExit" Alt="X"/>
                  </ToolstripGroupContainer>
                </att.SubMenu-set>
              </MenuBarButton>

              <MenuBarButton Text="Edit" Alt="E">
                <att.SubMenu-set>
                  <ToolstripGroupContainer>
                    <ToolstripGroup>
                      <MenuItemButton Command-ref="commandEditUndo" Alt="U"/>
                      <MenuItemButton Command-ref="commandEditRedo" Alt="R"/>
                    </ToolstripGroup>
                    <ToolstripGroup>
                      <MenuItemButton Command-ref="commandEditCut" Alt="X"/>
                      <MenuItemButton Command-ref="commandEditCopy" Alt="C"/>
                      <MenuItemButton Command-ref="commandEditPaste" Alt="V"/>
                    </ToolstripGroup>
                    <ToolstripGroup>
                      <MenuItemButton Command-ref="commandEditDelete" Alt="D"/>
                      <MenuItemButton Command-ref="commandEditSelect" Alt="A"/>
                    </ToolstripGroup>
                    <MenuItemButton Command-ref="commandEditFind" Alt="F"/>
                  </ToolstripGroupContainer>
                </att.SubMenu-set>
              </MenuBarButton>
            </ToolstripMenuBar>
          </Cell>

          <Cell Site="row:1 column:0">
            <ToolstripToolBar>
              <att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
              <ToolstripGroupContainer>
                <ToolstripGroup>
                  <ToolstripDropdownButton Image-uri="res://MainWindow/ImagePage/Images/New.png" Alt="N">
                    <att.SubMenu-set>
                      <MenuItemButton Command-ref="commandFileNewText" Alt="T"/>
                      <MenuItemButton Command-ref="commandFileNewXml" Alt="X"/>
                    </att.SubMenu-set>
                  </ToolstripDropdownButton>
                  <ToolstripSplitButton Command-ref="commandFileOpen" Alt="O">
                    <att.SubMenu-set>
                      <MenuItemButton Command-ref="commandFileOpenText" Alt="T"/>
                      <MenuItemButton Command-ref="commandFileOpenXml" Alt="X"/>
                    </att.SubMenu-set>
                  </ToolstripSplitButton>
                </ToolstripGroup>
                <ToolstripGroup>
                  <ToolstripButton Command-ref="commandFileSave" Alt="S"/>
                  <ToolstripButton Command-ref="commandFileSaveAs" Alt="A"/>
                </ToolstripGroup>
                <ToolstripGroup>
                  <ToolstripButton Command-ref="commandEditUndo" Alt="U"/>
                  <ToolstripButton Command-ref="commandEditRedo" Alt="R"/>
                </ToolstripGroup>
                <ToolstripGroup>
                  <ToolstripButton Command-ref="commandEditCut" Alt="X"/>
                  <ToolstripButton Command-ref="commandEditCopy" Alt="C"/>
                  <ToolstripButton Command-ref="commandEditPaste" Alt="V"/>
                </ToolstripGroup>
                <ToolstripButton Command-ref="commandEditDelete" Alt="D"/>
                <ToolstripButton Command-ref="commandEditFind" Alt="I"/>
              </ToolstripGroupContainer>
            </ToolstripToolBar>
          </Cell>
        </Table>
      </TabPage>
    </Instance>
  </Instance>
</Folder>