<Resource>
  <Folder name="GacGenConfig">
    <Folder name="Cpp">
      <Text name="SourceFolder">Source</Text>
      <Text name="Resource">..\..\UIRes\ListControls.bin</Text>
      <Text name="NormalInclude">GacUI.h</Text>
      <Text name="ReflectionInclude">GacUIReflection.h</Text>
      <Text name="Name">Demo</Text>
    </Folder>
  </Folder>
  
  <Instance name="MainWindowResource">
    <Instance ref.CodeBehind="false" ref.Class="demo::MainWindow" xmlns:demo="demo::*">
      <Window ref.Name="self" Text="ListControls" ClientSize="x:640 y:480">
        <att.BoundsComposition-set PreferredMinSize="x:640 y:480"/>
        <Tab>
          <att.BoundsComposition-set AlignmentToParent="left:5 top:5 right:5 bottom:5"/>
          <att.Pages>
            <demo:TextListTabPage Alt="T"/>
            <demo:ListViewTabPage Alt="L"/>
            <demo:TreeViewTabPage Alt="R"/>
          </att.Pages>
        </Tab>
      </Window>
    </Instance>
  </Instance>

  <Instance name="TextListTabPageResource" content="File">TextListTabPage.xml</Instance>
  <Instance name="ListViewTabPageResource" content="File">ListViewTabPage.xml</Instance>
  <Instance name="TreeViewTabPageResource" content="File">TreeViewTabPage.xml</Instance>
  <Folder name="LargeImages" content="Link">Images/LargeImages.xml</Folder>
  <Folder name="SmallImages" content="Link">Images/SmallImages.xml</Folder>
  <Folder name="MiscImages" content="Link">Images/MiscImages.xml</Folder>
  <Script name="ImageLoaderResource" content="File">Images/ImageLoader.xml</Script>

  <Script name="ViewModelResource">
    <Workflow>
      <![CDATA[
        module viewmodel;
        
        using system::*;
        using presentation::*;
        
        namespace demo
        {
          class MyTextItem
          {
            prop Name : string = "" {not observe}
            prop Checked : bool = false {not observe}
          }
        }
      ]]>
    </Workflow>
  </Script>
</Resource>