RouteExample.xaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <Page
  2. x:Class="Breda_Tour.RouteSelectScreen.RouteExample"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:local="using:Breda_Tour.RouteSelectScreen"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. xmlns:c="using:Breda_Tour.CustomControls"
  9. xmlns:data="using:Breda_Tour.Data"
  10. mc:Ignorable="d">
  11. <Grid>
  12. <c:DefaultTopBar Header="Routevoorbeeld" Margin="0,-300,0,300"/>
  13. <TextBlock Text="Routeinformatie" FontSize="16" Margin="17,45,0,-23"/>
  14. <TextBlock Text="Tijdsduur: " FontSize="16" Margin="17,80,0,-25"/>
  15. <TextBlock Text="Loopafstand: " FontSize="16" Margin="17,95,0,-25"/>
  16. <TextBlock Text="{x:Bind WaypointsText}" FontSize="16" Margin="17,110,0,-25"/>
  17. <Button Click="Button_Click" Margin="200,139,0,489"/>
  18. <ListView x:Name="Waypoints" ItemsSource="{x:Bind route.Waypoints}" Margin="0,328,0,0">
  19. <ListView.ItemContainerStyle>
  20. <Style TargetType="ListViewItem">
  21. <Setter Property="Padding" Value="0"/>
  22. <Setter Property="Margin" Value="0"/>
  23. </Style>
  24. </ListView.ItemContainerStyle>
  25. <ListView.ItemTemplate>
  26. <DataTemplate x:DataType="data:Waypoint">
  27. <StackPanel>
  28. <TextBlock Text="{Binding Title}" Margin="10,0,0,0"/>
  29. </StackPanel>
  30. </DataTemplate>
  31. </ListView.ItemTemplate>
  32. </ListView>
  33. </Grid>
  34. </Page>