<Window x:Class="WPF___RichTextBox_to_HTML.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:WPF___RichTextBox_to_HTML"
        mc:Ignorable="d"
        Title="WPF - RichTextBox to HTML using SautinSoft.RtfToHtml.dll"
        WindowState="Maximized"
        WindowStyle="SingleBorderWindow">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <RichTextBox Name="rtfControl" Grid.Row="0" Margin="2,10"></RichTextBox>
        <Button Name="btnConvert" Grid.Row="1" Width="150" Height="28" Margin="5" Click="BtnConvert_Click">Convert to HTML</Button>
    </Grid>
</Window>

