<Page
    x:Class="GolfComp.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:GolfComp.Views" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

    <Grid>
        <NavigationView x:Name="navView" Loaded="NavigationViewLoaded" SelectionChanged="NavigationViewSelectionChanged">
            <NavigationView.MenuItems>
                <NavigationViewItem Icon="Home" Content="Homepage" FontSize="14" Tag="home"/>
                <NavigationViewItem Icon="Document" Content="Golfclubs" FontSize="14" Tag="clubs"></NavigationViewItem>
                <NavigationViewItem Icon="Document" Content="Competitie" FontSize="14" Tag="competitie"></NavigationViewItem>
                <NavigationViewItem Icon="Document" Content="Coaches" FontSize="14" Tag="coach"></NavigationViewItem>
                <NavigationViewItem Icon="Document" Content="Spelers" FontSize="14" Tag="spelers"></NavigationViewItem>                
                <NavigationViewItem Icon="Document" Content="Teams" FontSize="14" Tag="teams"></NavigationViewItem>
                <NavigationViewItem Icon="Document" Content="Wedstrijden" FontSize="14" Tag="wedstrijden"></NavigationViewItem>
            </NavigationView.MenuItems>
            <ScrollViewer>
                <Frame x:Name="ContentFrame"/>
            </ScrollViewer>
        </NavigationView>
    </Grid>
</Page>
