SplashPage.xaml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <Page
  2. x:Class="Breda_Tour.SplashScreen.SplashPage"
  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.SplashScreen"
  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. <Grid Background="{StaticResource BredaToursSplashScreenBrush}">
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="*"/>
  12. <RowDefinition Height="70"/>
  13. <RowDefinition Height="*"/>
  14. </Grid.RowDefinitions>
  15. <!--Logo-->
  16. <RelativePanel HorizontalAlignment="Center">
  17. <Ellipse Name="BackgroundEllipseLogo"
  18. RelativePanel.AlignBottomWith="LogoImage"
  19. RelativePanel.AlignTopWith="LogoImage"
  20. RelativePanel.AlignLeftWith="LogoImage"
  21. RelativePanel.AlignRightWith="LogoImage"
  22. Margin="25"
  23. Fill="#44FFFFFF"
  24. Stroke="White" StrokeThickness="1"/>
  25. <Image Name="LogoImage"
  26. Source="/Assets/Ags_Logo.png"
  27. MinHeight="40"
  28. MaxHeight="125"
  29. RelativePanel.AlignBottomWithPanel="True"
  30. Margin="45"/>
  31. </RelativePanel>
  32. <!--Logo-->
  33. <!--App Name-->
  34. <RelativePanel Grid.Row="1">
  35. <StackPanel Name="TitleStackPanel" RelativePanel.AlignVerticalCenterWithPanel="True" RelativePanel.AlignHorizontalCenterWithPanel="True" Orientation="Horizontal">
  36. <TextBlock Foreground="White" FontSize="36" FontWeight="Light" Text="{StaticResource AppTitleThinPart}"/>
  37. <TextBlock Foreground="White" FontSize="36" FontWeight="Normal" Text="{StaticResource AppTitleBoldPart}" Margin="5,0,0,0"/>
  38. </StackPanel>
  39. <Rectangle Fill="White" Grid.Row="1" RelativePanel.Below="TitleStackPanel" Margin="2,0,1,0" RelativePanel.AlignLeftWith="TitleStackPanel" RelativePanel.AlignRightWith="TitleStackPanel" Height="1"></Rectangle>
  40. </RelativePanel>
  41. <!--App Name-->
  42. <!--Language selection-->
  43. <StackPanel Grid.Row="2" HorizontalAlignment="Center">
  44. <Button Style="{StaticResource SplashScreenLanguageButtonStyle}"
  45. Content="{StaticResource AppLanguageDutch}"
  46. Margin="0,15,0,0"
  47. Click="Button_Dutch_Click"/>
  48. <Button Style="{StaticResource SplashScreenLanguageButtonStyle}"
  49. Content="{StaticResource AppLanguageEnglish}"
  50. Margin="0,10,0,0"
  51. Click="Button_English_Click"/>
  52. </StackPanel>
  53. <!--Language selection-->
  54. </Grid>
  55. </Page>