<Folder>
  <Instance name="HyperlinkWindowResource">
    <Instance ref.CodeBehind="false" ref.Class="demo::HyperlinkWindow">
      <ref.Members>
        <![CDATA[
          prop Url : string? = null {}
        ]]>
      </ref.Members>
      <Window ref.Name="self" Text="Hyperlink" ClientSize="x:320 y:80" SizeBox="false" MinimizedBox="false" MaximizedBox="false" ShowInTaskBar="false">
        <att.BoundsComposition-set PreferredMinSize="x:320 y:80"/>
        <Table CellPadding="5" BorderVisible="true" AlignmentToParent="left:0 top:0 right:0 bottom:0">
          <att.Rows>
            <_>composeType:MinSize</_>
            <_>composeType:Percentage percentage:1.0</_>
            <_>composeType:MinSize</_>
          </att.Rows>
          <att.Columns>
            <_>composeType:MinSize</_>
            <_>composeType:Percentage percentage:1.0</_>
            <_>composeType:MinSize</_>
            <_>composeType:MinSize</_>
          </att.Columns>

          <Cell Site="row:0 column:0">
            <Table AlignmentToParent="left:0 top:0 right:0 bottom:0" MinSizeLimitation="LimitToElementAndChildren">
              <att.Rows>
                <_>composeType:Percentage percentage:0.5</_>
                <_>composeType:MinSize</_>
                <_>composeType:Percentage percentage:0.5</_>
              </att.Rows>
              <att.Columns>
                <_>composeType:Percentage percentage:1.0</_>
              </att.Columns>

              <Cell Site="row:1 column:0">
                <Label Text="Url: "/>
              </Cell>
            </Table>
          </Cell>

          <Cell Site="row:0 column:1 columnSpan:3">
            <SinglelineTextBox ref.Name="textUrl">
              <att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
            </SinglelineTextBox>
          </Cell>

          <Cell Site="row:2 column:2">
            <Button Text="OK">
              <att.BoundsComposition-set PreferredMinSize="x:100"/>
              <ev.Clicked-eval>
                <![CDATA[
                  {
                    self.Url = textUrl.Text;
                    self.Close();
                  }
                ]]>
              </ev.Clicked-eval>
            </Button>
          </Cell>

          <Cell Site="row:2 column:3">
            <Button Text="Cancel">
              <att.BoundsComposition-set PreferredMinSize="x:100"/>
              <ev.Clicked-eval>
                <![CDATA[
                  {
                    self.Url = null;
                    self.Close();
                  }
                ]]>
              </ev.Clicked-eval>
            </Button>
          </Cell>
        </Table>
      </Window>
    </Instance>
  </Instance>
</Folder>