<Window x:Class="PDFViewWPFTestCS.FindTextDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="using:PDFViewWPFTestCS"
        Title="Find Text" Height="230" Width="190"
        WindowStartupLocation="CenterOwner"
        MinHeight="219" MinWidth="190" WindowStyle="ToolWindow"
        ShowInTaskbar="False" Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}">
    <Grid>
        <Label Content="Text to find:" Height="28" Margin="0,0,0,0" VerticalAlignment="Top"/>
        <TextBox Height="23" Name="SearchTermBox" Margin="8,28,8,0" VerticalAlignment="Top" TextChanged="SearchTermBox_TextChanged"/>
        <CheckBox Content="Match case" Height="16" Name="matchCase" Margin="6,57,0,0" VerticalAlignment="Top" Checked="matchCase_Checked" Unchecked="matchCase_Unchecked"/>
        <CheckBox Content="Match whole word" Height="16" Name="matchWord" Margin="6,76,0,0" VerticalAlignment="Top" Checked="matchWord_Checked" Unchecked="matchWord_Unchecked"/>
        <CheckBox Content="Search up" Height="16" Name="searchUp" Margin="6,95,0,0" VerticalAlignment="Top" Checked="searchUp_Checked" Unchecked="searchUp_Unchecked"/>
        <CheckBox Content="Use regular expressions" Height="16" Name="useRegExp" Margin="6,114,0,0" VerticalAlignment="Top" Checked="useRegExp_Checked" Unchecked="useRegExp_Unchecked"/>
        <Button Content="Find Next" Height="23" Name="btn_find" Width="65" Margin="-85,140,0,0" VerticalAlignment="Top" HorizontalAlignment="Center" Click="btn_find_Click" />
        <Button Content="Cancel" Height="23" Name="btn_cancel" Width="65" Margin="85,140,0,0" VerticalAlignment="Top" HorizontalAlignment="Center" Click="btn_cancel_Click"/>
        <TextBlock x:Name="FindTextStatus" FontSize="10" Text="Info goes here" Margin="10,168,10,8"/>
    </Grid>
</Window>

