    <Page x:Name="Page_LocateTag"
    x:Class="Zebra_RFID_Mobile.PageLocateTag"
    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}">
    <Page.Resources>
        <Flyout x:Name="LocateFlyout" x:Key="LocateFlyout">
            <TextBlock x:Name="TextLocateStatus" FontSize="22" VerticalAlignment="Center" Margin="0,0,0,10" Width="340" TextWrapping="Wrap" HorizontalAlignment="Center" Height="80"/>
        </Flyout>
    </Page.Resources>
    <Page.BottomAppBar>
        <CommandBar >
            <CommandBar.PrimaryCommands>
                <AppBarButton x:Name="AppBarButtonRapidRead" x:Uid="RapidRead" Label="RapidRead" Click="AppBarButtonGoToRapidRead">
                    <AppBarButton.Icon>
                        <BitmapIcon UriSource="Assets/tab_rapidread.png"/>
                    </AppBarButton.Icon>
                </AppBarButton>
                <AppBarButton x:Name="AppBarButtonInventory" x:Uid="Inventory" Label="Inventory" Click="AppBarButtonGoToInventory" >
                    <AppBarButton.Icon>
                        <BitmapIcon UriSource="Assets/tab_inventory.png"/>
                    </AppBarButton.Icon>
                </AppBarButton>
                <AppBarButton x:Name="AppBarButtonAccess1" x:Uid="Access" Label="Access" Click="AppBarButtonGoToAccess" >
                    <AppBarButton.Icon>
                        <BitmapIcon UriSource="Assets/tab_access.png"/>
                    </AppBarButton.Icon>
                </AppBarButton>
                <AppBarButton x:Name="s" x:Uid="Locate Tag" Label="LocateTag" Click="AppBarButtonGoToLocateTag">
                    <AppBarButton.Icon>
                        <BitmapIcon UriSource="Assets/tab_locate.png"/>
                    </AppBarButton.Icon>
                </AppBarButton>
            </CommandBar.PrimaryCommands>
        </CommandBar>
    </Page.BottomAppBar>
    <Grid>
        <TextBlock HorizontalAlignment="Left" Margin="80,10,0,0" TextWrapping="Wrap" Text="Locate Tag" VerticalAlignment="Top" FontSize="30"/>
        <AppBarButton HorizontalAlignment="Left" Icon="Back" Label="Home" Margin="10,0,0,0" VerticalAlignment="Top" Width="Auto" Click="AppBarButton_Click"/>
        <Button x:Name="Batterybutton" HorizontalAlignment="Left" Margin="320,0,0,0" VerticalAlignment="Top" Width="40" Height="55" Background="{x:Null}" Click="Batterybutton_Click">
            <Image x:Name="BatteryDPO" Source="{Binding BatteryDPOImage}"/>
        </Button>
        <Button x:Name="ButtonStart" Content="{Binding LocateStartStop}" HorizontalAlignment="Center" Margin="0,0,0,15" VerticalAlignment="Bottom" Click="ButtonStart_Click" FontSize="22" Width="340" Height="60" FlyoutBase.AttachedFlyout="{StaticResource LocateFlyout}"/>
        <TextBox x:Name="TextBoxTagID" Text="{Binding SelectedTag,Mode=TwoWay}"  IsEnabled="{Binding LocateTagID_ON}" HorizontalAlignment="Center" Margin="0,70,0,0" TextWrapping="Wrap" VerticalAlignment="Top" RenderTransformOrigin="0.59,0.513" FontSize="18" Opacity="0.5" Width="340" PlaceholderText="Tag Pattern" MaxLength="256"/>
        <ProgressBar x:Name="ProgressBarLocateTag" HorizontalAlignment="Center" Value="{Binding LocateData}" Height="100" Margin="0,260,0,0" VerticalAlignment="Top" Width="350" SmallChange="1" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" d:LayoutRounding="Auto">
            <ProgressBar.RenderTransform>
                <CompositeTransform Rotation="270"/>
            </ProgressBar.RenderTransform>
        </ProgressBar>

    </Grid>
</Page>
