<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="Hyperlinks.Page" xmlns="http://schemas.microsoft.com/client/2007" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml">

    <Grid x:Name="LayoutRoot">

        <!-- application background -->

        <!-- main grid -->
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="50" />
        </Grid.RowDefinitions>

       <Rectangle Grid.RowSpan="3" Stroke="#FF718999" RadiusX="2" RadiusY="2" Grid.Row="1" Margin="-1,-1,-1,0">
			<Rectangle.Fill>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#FFC7DAE3" />
					<GradientStop Color="#FFE2EBEF" Offset="1" />
					<GradientStop Color="#FFF9F9F9" Offset="0.56699997186660767" />
				</LinearGradientBrush>
			</Rectangle.Fill>
		</Rectangle>

        <!-- navigation bar -->
        <Border Grid.Row="0" Margin="-1,0,-1,10" BorderBrush="#FF718999" Background="#FF94B9CA" BorderThickness="1" CornerRadius="2,2,2,2">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>
                <c1:C1TextBoxBase x:Name="_txtUrl" Margin="4" FontSize="12" Watermark="Enter URL here" Padding="10,6,2,2" />
                <Button Content="GO" Padding="5,0,5,0" Margin="0,4,4,4" Grid.Column="1" x:Name="_btnGo" FontWeight="Bold" FontFamily="Arial" />
            </Grid>
        </Border>

        <!-- formatting bar -->
        <c1:C1RichTextBoxToolbar x:Name="_toolbar" Grid.Row="1" />

        <!-- editor -->
        <Border BorderThickness="5" Grid.Row="2">
            <c1:C1RichTextBox HorizontalAlignment="Stretch" Margin="3" TextWrapping="Wrap" x:Name="_rtb" />
        </Border>

        <!-- status bar -->
        <Border BorderThickness="5" Grid.Row="3">
            <TextBlock HorizontalAlignment="Stretch" Margin="4" Width="Auto" Text="Ready" Foreground="#FF335C77" FontSize="12" x:Name="_status" />
        </Border>

    </Grid>
</UserControl>