-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainPage.xaml
65 lines (55 loc) · 3.04 KB
/
MainPage.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<Page
x:Class="PokeGo.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:PokeGo"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="50"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="300"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Frame x:Name="fmMain" Grid.Column="1" Grid.Row="1">
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Grid.Background>
<ImageBrush ImageSource="Assets/fondoPrincipal.png" Stretch="Fill"/>
</Grid.Background>
</Grid>
</Frame>
<Border HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Button Margin="4" Click="Button_Click">
<FontIcon Foreground="White" Glyph="" FontFamily="Segoe MDL2 Assets" />
</Button>
</Border>
<Viewbox Grid.Row="1" Stretch="Fill">
<SplitView x:Name="sView" IsPaneOpen="True" DisplayMode="CompactInline" CompactPaneLength="30" Height="950" Width="300">
<SplitView.Pane>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="30"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<SymbolIcon Grid.Row="0" Margin="4" Symbol="Home"/>
<SymbolIcon Grid.Row="1" Margin="4" Symbol="Pictures"/>
<SymbolIcon Grid.Row="2" Margin="4" Symbol="People"/>
<Button Grid.Column="1" Content="Inicio" Height="50" Background="{x:Null}" FontSize="20" FontWeight="Bold" HorizontalAlignment="Left" BorderBrush="{x:Null}" Click="btnInicio_Click" Margin="0,0,25,0"/>
<Button Grid.Row="1" Grid.Column="1" Content="PokeDex" Height="50" Background="{x:Null}" FontSize="20" FontWeight="Bold" HorizontalAlignment="Left" BorderBrush="{x:Null}" Click="btnPokedex_Click" Margin="0,0,25,0"/>
<Button Grid.Row="2" Grid.Column="1" Content="Combate" Height="50" Background="{x:Null}" FontSize="20" FontWeight="Bold" HorizontalAlignment="Left" BorderBrush="{x:Null}" Click="btnCombate_Click" Margin="0,0,25,0"/>
</Grid>
</SplitView.Pane>
</SplitView>
</Viewbox>
</Grid>
</Page>