<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="C1HtmlHost_Browser.MainPage" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml">

    <Grid x:Name="LayoutRoot" Background="White" Margin="4">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <c1:C1TextBoxBase Margin="2" Watermark="Enter URL" C1Text="{Binding Address,Mode=TwoWay}" KeyDown="C1TextBoxBase_KeyDown" />
        <Button Margin="2" Grid.Column="1" Content="Search" Command="{Binding SearchCommand}" />
        <c1:C1HtmlHost Grid.Row="1" Grid.ColumnSpan="2" SourceUri="{Binding UriAddress}" />
    </Grid>

</UserControl>