<Page x:Name="Page_Connections"
    x:Class="Zebra_RFID_Mobile.PageConnection"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Zebra_RFID_Mobile"
    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 x:Name="GridConnection">
        <TextBlock HorizontalAlignment="Left" Margin="80,10,0,0" TextWrapping="Wrap" Text="Application" VerticalAlignment="Top" FontSize="30"/>
        <AppBarButton HorizontalAlignment="Left" Icon="Back" Label="Settings" Margin="10,0,0,0" VerticalAlignment="Top" Height="67" Width="Auto" Click="AppBarButton_Click"/>
        <TextBlock HorizontalAlignment="Left" Margin="20,101,0,0" TextWrapping="Wrap" Text="Reader Connection Settings" VerticalAlignment="Top" Height="42" FontSize="24" FontWeight="Bold"/>
        <TextBlock HorizontalAlignment="Left" Margin="20,231,0,0" TextWrapping="Wrap" Text="Notification Settings" VerticalAlignment="Top" Height="42" FontSize="22" FontWeight="Bold"/>
        <ToggleSwitch Header="Auto Reconnect Reader" IsOn="{Binding autoReconnect, Mode=TwoWay}" HorizontalAlignment="Left" Margin="20,148,0,0" VerticalAlignment="Top" Height="55" OffContent="No" OnContent="Yes"/>
        <ToggleSwitch Header="Reader Available"  IsOn="{Binding readerAvailable, Mode=TwoWay}" HorizontalAlignment="Left" Margin="20,273,0,0" VerticalAlignment="Top" Height="55" OffContent="No" OnContent="Yes"/>
        <ToggleSwitch Header="Reader Connection"  IsOn="{Binding readerConnection, Mode=TwoWay}" HorizontalAlignment="Left" Margin="20,333,0,0" VerticalAlignment="Top" Height="55" OffContent="No" OnContent="Yes"/>
        <ToggleSwitch Header="Reader Battery Status" IsOn="{Binding readerBatteryStatus, Mode=TwoWay}" HorizontalAlignment="Left" Margin="20,393,0,0" VerticalAlignment="Top" Height="55" OffContent="No" OnContent="Yes"/>

        <TextBlock HorizontalAlignment="Left" Margin="20,476,0,0" TextWrapping="Wrap" Text="Data Export Settings" VerticalAlignment="Top" Height="42" FontSize="22" FontWeight="Bold"/>

        <ToggleSwitch x:Name="toggleExportData" Header="Export Data" IsOn="{Binding exportData, Mode=TwoWay}" HorizontalAlignment="Left" Margin="20,518,0,0" VerticalAlignment="Top" Height="55" OffContent="No" OnContent="Yes"/>
        <!--<ToggleSwitch Header="Export Data" IsOn="{Binding exportData, Mode=TwoWay}" HorizontalAlignment="Left" Margin="20,513,0,0" VerticalAlignment="Top" Height="55" OffContent="No" OnContent="Yes"/>
        <TextBlock HorizontalAlignment="Left" Margin="20,471,0,0" TextWrapping="Wrap" Text="Data Export Settings" VerticalAlignment="Top" Height="42" FontSize="22" FontWeight="Bold"/>-->
    </Grid>
</Page>
