<Page x:Name="Page_Regulatory"
    x:Class="Zebra_RFID_Mobile.PageRegulatory"
    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 >
        <TextBlock HorizontalAlignment="Left" Margin="80,10,0,0" TextWrapping="Wrap" Text="Regulatory" VerticalAlignment="Top" FontSize="30"/>
        <AppBarButton HorizontalAlignment="Left" Icon="Back" Label="Settings" Margin="10,0,0,0" VerticalAlignment="Top" Width="Auto" Click="AppBarButton_Click"/>

        <TextBlock HorizontalAlignment="Left" Margin="20,88,0,0" TextWrapping="Wrap" Text="Region" VerticalAlignment="Top" FontSize="24"/>
        <TextBlock HorizontalAlignment="Left" Margin="20,184,0,0" TextWrapping="Wrap" Text="Channel Selection" VerticalAlignment="Top" FontSize="24"/>
        <TextBlock HorizontalAlignment="Center" Margin="0,0,0,20" TextWrapping="Wrap" VerticalAlignment="Bottom" Height="55" Width="305" Foreground="#FFEA1717" FontSize="14">
        	<Run Text="                              Warning:"/>
        	<LineBreak/>
        	<Run Text="    Select only the Country in which you are  "/>
        	<LineBreak/>
        	<Run Text="                       using the device"/>
        </TextBlock>
        <ComboBox x:Name="ComboBoxRegion" DataContext="{Binding}" HorizontalAlignment="Left" Margin="10,130,0,0" VerticalAlignment="Top" AllowDrop="True" SelectionChanged="ComboBox_SelectionChanged" Width="340">
            <ComboBox.ItemTemplate>
                <DataTemplate>
                    <ComboBoxItem Content="{Binding Region}" />
                </DataTemplate>

            </ComboBox.ItemTemplate>
        </ComboBox>
        <ListView x:Name="ListChannel" DataContext="{Binding}" HorizontalAlignment="Center" Margin="10,224,10,0" VerticalAlignment="Top" Width="340" Height="330">
            <ListView.ItemTemplate>
                <DataTemplate>
                    <CheckBox Content="{Binding Channel}" IsChecked="{Binding ChannelSelected, Mode=TwoWay}" IsEnabled="{Binding ChannelEnable}"></CheckBox>
                </DataTemplate>
            </ListView.ItemTemplate>
        </ListView>
    </Grid>
</Page>
