<Window x:Class="MainWindow"
        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:local="clr-namespace:Convert_HTML_to_WPF_RichTextBox"
        mc:Ignorable="d"
       Title="Convert HTML to WPF RichTextBox" Height="800" Width="1000">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
        </Grid.RowDefinitions>
        <RichTextBox Grid.Row="0" Margin="5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Name="RtfControl" VerticalScrollBarVisibility="Visible"></RichTextBox>
        <StackPanel Grid.Row="1" HorizontalAlignment="Right">
            <Button Margin="2,10,10,10" Padding="5" Name="Start" Click="Start_Click">Convert HTML and Load to RichTextBox</Button>
        </StackPanel>
    </Grid>
</Window>
