GamePage.WP8.xaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. <phone:PhoneApplicationPage
  2. x:Class="Samples.Animation.GamePage"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
  6. xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
  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. FontFamily="{StaticResource PhoneFontFamilyNormal}"
  11. FontSize="{StaticResource PhoneFontSizeNormal}"
  12. Foreground="{StaticResource PhoneForegroundBrush}"
  13. SupportedOrientations="Landscape" Orientation="Landscape"
  14. shell:SystemTray.IsVisible="False">
  15. <!--LayoutRoot is the root grid where all page content is placed-->
  16. <Grid x:Name="LayoutRoot" Background="Transparent">
  17. <!--Drawing surface for DirectX content - supports Landscape and Portrait-->
  18. <DrawingSurface x:Name="XnaSurface"/>
  19. <!-- Media element for audio -->
  20. <MediaElement></MediaElement>
  21. </Grid>
  22. <!-- Optionally replace the grid above with the following drawing surface grid,
  23. it may yield better performance for portrait only games, however it
  24. Does NOT support landscape mode
  25. <DrawingSurfaceBackgroundGrid x:Name="XnaSurface" Background="Transparent">
  26. <MediaElement></MediaElement>
  27. </DrawingSurfaceBackgroundGrid>
  28. -->
  29. </phone:PhoneApplicationPage>