HelpScreenPage.xaml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <Page
  2. x:Class="Breda_Tour.HelpScreen.HelpScreenPage"
  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.HelpScreen"
  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. xmlns:data="using:Breda_Tour.Data"
  10. mc:Ignorable="d">
  11. <Grid>
  12. <Grid.RowDefinitions>
  13. <RowDefinition Height="40"/>
  14. <RowDefinition Height="50"/>
  15. <RowDefinition Height="*" ScrollViewer.VerticalScrollMode="Enabled"/>
  16. </Grid.RowDefinitions>
  17. <c:DefaultTopBar Header="Help" x:Uid="HelpScreenPagetxtHelpScreen"/>
  18. <c:DefaultPivotControl x:Name="DefaultPivot" Grid.Row="1"/>
  19. <StackPanel Grid.Row="2" Background="White">
  20. <ScrollViewer Grid.Row="2" VerticalScrollBarVisibility="Hidden">
  21. <StackPanel Orientation="Vertical" Background="White">
  22. <TextBlock x:Uid="AppSettingsHelp" Style="{StaticResource SettingsHeaderStyle}" Foreground="{StaticResource BredaToursMainColorBrush}" Text="{StaticResource AppSettingsHelp}"></TextBlock>
  23. <ListView ItemsSource="{x:Bind HelpItems}" IsItemClickEnabled="True" ItemClick="ListView_ItemClick" >
  24. <ListView.ItemTemplate >
  25. <DataTemplate x:DataType="data:HelpItem">
  26. <ListBoxItem Padding="0" Background="Transparent" IsEnabled="False">
  27. <Grid Height="50">
  28. <Grid.ColumnDefinitions>
  29. <ColumnDefinition Width="50"/>
  30. <ColumnDefinition Width="*"/>
  31. </Grid.ColumnDefinitions>
  32. <Ellipse Height="40" Width="40" Stroke="{StaticResource BredaToursMainColorBrush}" StrokeThickness="0.5"
  33. Margin="5"
  34. Name="FolderEllipse"/>
  35. <SymbolIcon Symbol="Folder"
  36. Foreground="{StaticResource BredaToursMainColorBrush}"
  37. Margin="10"
  38. >
  39. <SymbolIcon.RenderTransform>
  40. <RotateTransform Angle="270" CenterX="15" CenterY="15"/>
  41. </SymbolIcon.RenderTransform>
  42. </SymbolIcon>
  43. <TextBlock RelativePanel.RightOf="FolderEllipse" Margin="10,14" Text="{x:Bind Title}" Grid.Column="1"/>
  44. </Grid>
  45. </ListBoxItem>
  46. </DataTemplate>
  47. </ListView.ItemTemplate>
  48. </ListView>
  49. </StackPanel>
  50. </ScrollViewer>
  51. </StackPanel>
  52. </Grid>
  53. </Page>