Created
May 4, 2015 17:20
-
-
Save BrianJVarley/1d6301f9f51807875788 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Page x:Class="LC_Points.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:local="using:LC_Points" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" | |
DataContext="{Binding Source={StaticResource Locator}, | |
Path=MainViewModel}" | |
mc:Ignorable="d"> | |
<Grid> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="10*" /> | |
<RowDefinition Height="20*" /> | |
<RowDefinition Height="20*" /> | |
<RowDefinition Height="20*" /> | |
<RowDefinition Height="20*" /> | |
</Grid.RowDefinitions> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition /> | |
<ColumnDefinition /> | |
<ColumnDefinition /> | |
</Grid.ColumnDefinitions> | |
<ComboBox x:Name="subjectCmbBx" | |
Grid.Row="1" | |
Grid.ColumnSpan="2" | |
Width="174" | |
HorizontalAlignment="Left" | |
VerticalAlignment="Top" | |
ItemsSource="{Binding subjects}" /> | |
<ComboBox x:Name="grdeCmbBx" | |
Grid.Row="1" | |
Grid.Column="1" | |
Grid.ColumnSpan="2" | |
Width="167" | |
HorizontalAlignment="Right" | |
ItemsSource="{Binding grades}" /> | |
<Button x:Name="addGradeBtn" | |
Grid.Row="2" | |
HorizontalAlignment="Left" | |
Content="Add Grade" /> | |
<ToggleButton x:Name="higherTglBtn" | |
Grid.Row="3" | |
HorizontalAlignment="Left" | |
Content="Higher" /> | |
<ToggleButton x:Name="ordinaryTglBtn" | |
Grid.Row="3" | |
Grid.ColumnSpan="2" | |
HorizontalAlignment="Right" | |
Content="Ordinary" /> | |
<TextBlock Grid.Row="5" | |
Grid.ColumnSpan="3" | |
Width="212" | |
Height="54" | |
HorizontalAlignment="Center" | |
Text="" | |
TextWrapping="Wrap" /> | |
</Grid> | |
<Page.BottomAppBar> | |
<CommandBar x:Name="appBar" IsSticky="True"> | |
<CommandBar.PrimaryCommands> | |
<AppBarButton Icon="Delete" | |
IsCompact="False" | |
Label="Clear All" /> | |
<AppBarButton Icon="Help" | |
IsCompact="False" | |
Label="About" /> | |
</CommandBar.PrimaryCommands> | |
<CommandBar.SecondaryCommands> | |
<AppBarButton Label="Share score!" /> | |
</CommandBar.SecondaryCommands> | |
</CommandBar> | |
</Page.BottomAppBar> | |
</Page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment