1 <common:LayoutAwarePage
3 x:Class="ShootingGame.MenuPage"
4 DataContext="{Binding DefaultViewModel, RelativeSource={RelativeSource Self}}"
6 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
7 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
8 xmlns:local="using:ShootingGame"
9 xmlns:common="using:ShootingGame.Common"
10 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
11 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
16 <!-- TODO: Delete this line if the key AppName is declared in App.xaml -->
17 <x:String x:Key="AppName">My Application</x:String>
19 <Grid HorizontalAlignment="Left" Height="768" VerticalAlignment="Top" Width="1366">
20 <Button x:Name="StartButton" Content="ゲーム開始" HorizontalAlignment="Center" Height="75" Margin="470,220,464,473" VerticalAlignment="Center" Width="432" Click="Button_Click_2" FontSize="24"/>
21 <Button x:Name="EditSoundButton" Content="サウンド編集" HorizontalAlignment="Center" Height="75" Margin="470,316,464,377" VerticalAlignment="Center" Width="432" FontSize="24" Click="EditSoundButton_Click"/>
22 <Button x:Name="EditPosition" Content="配置エディタ" HorizontalAlignment="Center" Height="75" Margin="470,412,464,281" VerticalAlignment="Center" Width="432" FontSize="24"/>
26 This grid acts as a root panel for the page that defines two rows:
27 * Row 0 contains the back button and page title
28 * Row 1 contains the rest of the page layout
30 </common:LayoutAwarePage>