RouteExample.xaml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 Background="White">
  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 Visibility="Visible" Click="Button_Click" >
  18. <TextBlock Text="Kappa Button"/>
  19. </Button>
  20. <ListView x:Name="Waypoints" ItemsSource="{x:Bind route.Waypoints}" Margin="0,328,0,0">
  21. <ListView.ItemContainerStyle>
  22. <Style TargetType="ListViewItem">
  23. <Setter Property="Padding" Value="0"/>
  24. <Setter Property="Margin" Value="0"/>
  25. </Style>
  26. </ListView.ItemContainerStyle>
  27. <ListView.ItemTemplate>
  28. <DataTemplate x:DataType="data:Waypoint">
  29. <StackPanel>
  30. <TextBlock Text="{Binding Title}" Margin="10,0,0,0"/>
  31. </StackPanel>
  32. </DataTemplate>
  33. </ListView.ItemTemplate>
  34. </ListView>
  35. </Grid>
  36. </Page>