WpDetailPage.xaml 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. <Page
  2. x:Class="Breda_Tour.MapScreen.WpDetailPage"
  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.MapScreen"
  6. xmlns:c ="using:Breda_Tour.CustomControls"
  7. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9. mc:Ignorable="d">
  10. <Grid>
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="Auto"/>
  13. <RowDefinition Height="Auto"/>
  14. <RowDefinition Height="Auto"/>
  15. <RowDefinition Height="*"/>
  16. </Grid.RowDefinitions>
  17. <c:DefaultTopBar x:Name="NameBar" Grid.Row="0" Header="Bezienswaardigheid"/>
  18. <RelativePanel x:Name="ImagePanel" Grid.Row="1">
  19. <Image Source="{x:Bind wp.Image.Source}" Height="{x:Bind wp.Image.Width}" Width="{x:Bind wp.Image.Width}" Stretch="UniformToFill" />
  20. </RelativePanel>
  21. <RelativePanel Grid.Row="2">
  22. <TextBlock Text="Beschrijving" FontSize="20" Margin="15,15,0,15" />
  23. </RelativePanel>
  24. <RelativePanel Grid.Row="3">
  25. <ScrollViewer Margin="15,0,0,0" VerticalScrollBarVisibility="Auto" >
  26. <TextBlock HorizontalAlignment="Stretch" VerticalAlignment="Stretch" TextWrapping="Wrap" Text="{x:Bind wp.description }"/>
  27. </ScrollViewer>
  28. </RelativePanel>
  29. </Grid>
  30. </Page>