SettingsPage.xaml 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <Page
  2. x:Class="Breda_Tours.SettingsScreen.SettingsPage"
  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_Tours.SettingsScreen"
  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.HelpScreen"
  10. mc:Ignorable="d">
  11. <Grid Background="Transparent">
  12. <Grid.RowDefinitions>
  13. <RowDefinition Height="40"/>
  14. <RowDefinition Height="50"/>
  15. <RowDefinition Height="*" ScrollViewer.VerticalScrollMode="Enabled"/>
  16. </Grid.RowDefinitions>
  17. <c:DefaultTopBar Header="Instellingen" x:Uid="AppSettingstxtSettings"/>
  18. <c:DefaultPivotControl x:Name="DefaultPivot" Grid.Row="1"/>
  19. <ScrollViewer Grid.Row="2" VerticalScrollBarVisibility="Hidden">
  20. <StackPanel Orientation="Vertical">
  21. <TextBlock x:Uid="AppSettingsLanguageSettings" Style="{StaticResource SettingsHeaderStyle}" Foreground="White" Text="{StaticResource AppSettingsLanguageSettings}"></TextBlock>
  22. <ListViewItem Name="listViewItemSetupLanguage" Tapped="listViewItemSetupLanguage_Tapped">
  23. <StackPanel Margin="8,0,0,0">
  24. <TextBlock x:Uid="AppSettingstxtSetupLanguage" FontSize="18" Text="Taal instellen" Foreground="White"></TextBlock>
  25. <TextBlock x:Uid="AppSettingstxtLanguageString" Margin="0,-1,0,0" FontSize="12" Foreground="White" Text="Nederlands"></TextBlock>
  26. </StackPanel>
  27. </ListViewItem>
  28. <Rectangle Margin="0,15,0,0" Fill="#99FFFFFF" Height="1" />
  29. <TextBlock x:Uid="AppSettingsHelp" Style="{StaticResource SettingsHeaderStyle}" Foreground="White" Text="{StaticResource AppSettingsHelp}"></TextBlock>
  30. <ListView ItemsSource="{x:Bind HelpItems}" >
  31. <ListView.ItemTemplate>
  32. <DataTemplate x:DataType="data:HelpItem">
  33. <ListBoxItem Padding="0" Background="Transparent" IsEnabled="False">
  34. <Grid Height="50">
  35. <Grid.ColumnDefinitions>
  36. <ColumnDefinition Width="50"/>
  37. <ColumnDefinition Width="*"/>
  38. </Grid.ColumnDefinitions>
  39. <Ellipse Height="40" Width="40" Stroke="White" StrokeThickness="0.5"
  40. Margin="5"
  41. Name="FolderEllipse"/>
  42. <SymbolIcon Symbol="Folder"
  43. Foreground="White"
  44. Margin="10"
  45. >
  46. <SymbolIcon.RenderTransform>
  47. <RotateTransform Angle="270" CenterX="15" CenterY="15"/>
  48. </SymbolIcon.RenderTransform>
  49. </SymbolIcon>
  50. <TextBlock RelativePanel.RightOf="FolderEllipse" Foreground="White" Margin="10,14" Text="{x:Bind Title}" Grid.Column="1"/>
  51. </Grid>
  52. </ListBoxItem>
  53. </DataTemplate>
  54. </ListView.ItemTemplate>
  55. </ListView>
  56. </StackPanel>
  57. </ScrollViewer>
  58. </Grid>
  59. </Page>