<?xml version="1.0" encoding="utf-8"?>
<Resource>
  <Folder name="GacGenConfig">
    <Folder name="ResX86">
      <Text name="Resource">..\..\UIRes\32bits\control_ribbon_empty.bin</Text>
    </Folder>
    <Folder name="ResX64">
      <Text name="Resource">..\..\UIRes\64bits\control_ribbon_empty.bin</Text>
    </Folder>
  </Folder>

  <Folder name="ToolbarImages">
    <Image name="Undo" content="File">_Undo.png</Image>
    <Image name="Redo" content="File">_Redo.png</Image>
    <Image name="Copy" content="File">_Copy.png</Image>
    <Image name="Cut" content="File">_Cut.png</Image>
    <Image name="Paste" content="File">_Paste.png</Image>
    <Image name="Delete" content="File">_Delete.png</Image>

    <Image name="UndoLarge" content="File">L_Undo.png</Image>
    <Image name="RedoLarge" content="File">L_Redo.png</Image>
    <Image name="CopyLarge" content="File">L_Copy.png</Image>
    <Image name="CutLarge" content="File">L_Cut.png</Image>
    <Image name="PasteLarge" content="File">L_Paste.png</Image>
    <Image name="DeleteLarge" content="File">L_Delete.png</Image>
  </Folder>

  <Folder name="MainWindow">
    <Instance name="MainWindowResource">
      <Instance ref.Class="sample::MainWindow">
        <Window ref.Name="self" Text="control_ribbon_empty" ClientSize="x:640 y:480">
          <MessageDialog ref.Name="dialogMessage" Title="You Expanded a Group!" Text="GuiRibbonGroup::ExpandButtonClicked is executed!"/>

          <ToolstripCommand ref.Name="commandUndo" Text="Undo" Image-uri="res://ToolbarImages/Undo" LargeImage-uri="res://ToolbarImages/UndoLarge" ShortcutBuilder="Ctrl+Z"/>
          <ToolstripCommand ref.Name="commandRedo" Text="Redo" Image-uri="res://ToolbarImages/Redo" LargeImage-uri="res://ToolbarImages/RedoLarge" ShortcutBuilder="Ctrl+Y"/>
          <ToolstripCommand ref.Name="commandCopy" Text="Copy" Image-uri="res://ToolbarImages/Copy" LargeImage-uri="res://ToolbarImages/CopyLarge" ShortcutBuilder="Ctrl+C"/>
          <ToolstripCommand ref.Name="commandCut" Text="Cut" Image-uri="res://ToolbarImages/Cut" LargeImage-uri="res://ToolbarImages/CutLarge" ShortcutBuilder="Ctrl+X"/>
          <ToolstripCommand ref.Name="commandPaste" Text="Paste" Image-uri="res://ToolbarImages/Paste" LargeImage-uri="res://ToolbarImages/PasteLarge" ShortcutBuilder="Ctrl+V"/>
          <ToolstripCommand ref.Name="commandDelete" Text="Delete" Image-uri="res://ToolbarImages/Delete" LargeImage-uri="res://ToolbarImages/DeleteLarge"/>

          <Table AlignmentToParent="left:0 top:0 right:0 bottom:0" MinSizeLimitation="LimitToElementAndChildren">
            <att.Rows>
              <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">
              <RibbonTab>
                <att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>

                <att.BeforeHeaders-set>
                  <Button Text="BeforeHeaders">
                    <att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
                  </Button>
                </att.BeforeHeaders-set>
                <att.AfterHeaders-set>
                  <Button Text="AfterHeaders">
                    <att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
                  </Button>
                </att.AfterHeaders-set>

                <att.Pages>
                  <RibbonTabPage Text="Page One">
                    <att.ContainerComposition-set PreferredMinSize="y:110"/>
                    <att.Groups>
                      <RibbonGroup Text="Group One" Expandable="true" LargeImage-uri="res://ToolbarImages/PasteLarge" ev.ExpandButtonClicked-eval="dialogMessage.ShowDialog();">
                        <att.Items>
                          <RibbonButtons MaxSize="Large" MinSize="Icon">
                            <att.Buttons>
                              <ToolstripButton Command-eval="self.commandUndo"/>
                              <ToolstripButton Command-eval="self.commandRedo"/>
                            </att.Buttons>
                          </RibbonButtons>
                          <RibbonSplitter/>
                          <RibbonButtons MaxSize="Large" MinSize="Icon">
                            <att.Buttons>
                              <ToolstripButton Command-eval="self.commandCopy"/>
                              <ToolstripButton Command-eval="self.commandCut"/>
                              <ToolstripButton Command-eval="self.commandPaste"/>
                            </att.Buttons>
                          </RibbonButtons>
                          <RibbonSplitter/>
                          <RibbonLargeButton Command-eval="self.commandDelete"/>
                        </att.Items>
                      </RibbonGroup>
                      <RibbonGroup Text="Group Two"/>
                      <RibbonGroup Text="Group Three"/>
                    </att.Groups>
                  </RibbonTabPage>

                  <RibbonTabPage Text="Page Two"/>

                  <RibbonTabPage Text="Page Three" Highlighted="true"/>
                </att.Pages>
              </RibbonTab>
            </Cell>
          </Table>
        </Window>
      </Instance>
    </Instance>
  </Folder>
</Resource>