<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="HtmlFilterCustomization.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">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        
        <c1:C1RichTextBox Name="RichTextBox" Grid.RowSpan="2" />
        <Button Content="To HTML &gt;" Grid.Column="1" Click="ToHtml" />
        <Button Content="&lt; From HTML" Grid.Column="1" Grid.Row="1" Click="FromHtml" />
        <TextBox Name="Source" TextWrapping="Wrap" AcceptsReturn="True" Grid.Column="2" Grid.RowSpan="2" />
    </Grid>
</UserControl>