SettingsView.xaml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <Page
  2. x:Class="YJMPD_UWP.Views.SettingsView"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:local="using:YJMPD_UWP.Views"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. mc:Ignorable="d">
  9. <ScrollViewer>
  10. <StackPanel HorizontalAlignment="Stretch">
  11. <StackPanel Margin="10">
  12. <TextBlock Text="{Binding Language}" Style="{StaticResource Header}"/>
  13. <ComboBox Name="Language" SelectionChanged="Language_SelectionChanged" HorizontalAlignment="Stretch">
  14. <ComboBoxItem>English</ComboBoxItem>
  15. <ComboBoxItem>Nederlands</ComboBoxItem>
  16. <ComboBoxItem>Deutsch</ComboBoxItem>
  17. <!-- <ComboBoxItem>日本語</ComboBoxItem> -->
  18. </ComboBox>
  19. </StackPanel>
  20. <StackPanel Margin="10">
  21. <TextBlock Text="{Binding ResetHeader}" Style="{StaticResource Header}"/>
  22. <StackPanel Orientation="Horizontal">
  23. <Button Name="ResetButton" Click="ResetButton_Click">
  24. <StackPanel Orientation="Horizontal">
  25. <TextBlock FontFamily="Segoe MDL2 Assets" Text="&#xE895;" Margin="0,3,10,0" />
  26. <TextBlock Text="{Binding Reset}" />
  27. </StackPanel>
  28. </Button>
  29. <ProgressRing Name="ResetProgress" IsActive="False" Margin="15,0,0,0"/>
  30. </StackPanel>
  31. </StackPanel>
  32. </StackPanel>
  33. </ScrollViewer>
  34. </Page>