<Page
    x:Class="was.touchcopy.features.settings.SettingsGeneralPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:was.touchcopy.features.settings"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid>
        <StackPanel Padding="20,10">
            <TextBlock x:Uid="GeneralSettings" Style="{ThemeResource TitleTextBlockStyle}" Margin="0,10,0,20" Text="XX General"/>
            <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
                <TextBlock x:Uid="TextBlockLanguage" Text="XX Language:" Margin="0,5,0,0"/>
                <ComboBox x:Name="comboBoxLanguage"  Margin="10,0,0,0" SelectionChanged="comboBoxLanguage_SelectionChanged">
                    <ComboBox.Items>
                        <ComboBoxItem x:Uid="ComboBoxItemEnglish" Tag="en" Content="XX English"/>
                        <ComboBoxItem x:Uid="ComboBoxItemDutch" Tag="nl" Content="XX Dutch"/>
                        <ComboBoxItem x:Uid="ComboBoxItemFrench" Tag="fr" Content="XX French"/>
                        <ComboBoxItem x:Uid="ComboBoxItemGerman" Tag="de" Content="XX German"/>
                        <ComboBoxItem x:Uid="ComboBoxItemItalian" Tag="it" Content="XX Italian"/>
                        <ComboBoxItem x:Uid="ComboBoxItemSpanish" Tag="es" Content="XX Spanish"/>
                        <ComboBoxItem x:Uid="ComboBoxItemJapanese" Tag="ja" Content="XX Japanese"/>
                    </ComboBox.Items>
                </ComboBox>
            </StackPanel>
            <TextBlock TextWrapping="Wrap" x:Uid="TextBlockRestartToChangeLanguage" Margin="0,20,0,0" FontStyle="Italic"
                           Text="XX Restart this app to change its display langauge"/>
            <Button x:Uid="ButtonRestartNow" x:Name="buttonRestartNow" Margin="0,24,0,0" Content="XX Restart Now" Style="{ThemeResource AccentButtonStyle}" Click="_buttonRestartNow_Click" Visibility="Collapsed" />

            <TextBlock Style="{ThemeResource SubtitleTextBlockStyle}" Text="Connectivity" Margin="0,30,0,0"/>
            <ToggleSwitch x:Name="toggleSwitchEnableWifiConnectivity" x:Uid="toggleSwitchEnableWifiConnectivity" OnContent="XX Wifi Device Connectivity Enabled"
                          OffContent="XX Enable WiFi Device Connectivity" Toggled="toggleSwitchEnableWifiConnectivity_Toggled"/>

        </StackPanel>
    </Grid>
</Page>
