window_loader.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. <Window Name="loaderWindow" Title="Load a XWML file" DesiredSize="200, 176">
  2. <StackLayout Margins="2, 2, 2, 2">
  3. <Label Text="Insert the XWML file:" />
  4. <TextBox Name="tbXWMLFilepath" Text="<insert xwml filename>" />
  5. <Button Name="btnLoad" OnClick="{Action LoadXWMLFromFilepath}" Margins="0, 4, 0, 0">
  6. <Label Name="lblCaption" Text="Load XWML" HorizontalTextAlign="Center" />
  7. </Button>
  8. <Label Text="Examples:" Margins="0, 5, 0, 0" />
  9. <StackLayout Orientation="Horizontal" FitToChildren="Both">
  10. <Label Name="lblExample1" Text="res/window.xml" />
  11. <Button DesiredSize="10, 10" Margins="3,0,0,0" OnClick="{Action CopyProperty('lblExample1.Text','tbXWMLFilepath.Text')}">
  12. <Label Text="+" />
  13. </Button>
  14. </StackLayout>
  15. <StackLayout Orientation="Horizontal" FitToChildren="Both">
  16. <Label Name="lblExample2" Text="res/window_listview.xml" />
  17. <Button DesiredSize="10, 10" Margins="3,0,0,0" OnClick="{Action CopyProperty('lblExample2.Text','tbXWMLFilepath.Text')}">
  18. <Label Text="+" />
  19. </Button>
  20. </StackLayout>
  21. <StackLayout Orientation="Horizontal" FitToChildren="Both">
  22. <Label Name="lblExample3" Text="res/window_loader.xml" />
  23. <Button DesiredSize="10, 10" Margins="3,0,0,0" OnClick="{Action CopyProperty('lblExample3.Text','tbXWMLFilepath.Text')}">
  24. <Label Text="+" />
  25. </Button>
  26. </StackLayout>
  27. <Button OnClick="{Action QuitApplication}">
  28. <Label Text="Quit" HorizontalTextAlign="Center" />
  29. </Button>
  30. </StackLayout>
  31. </Window>