<UserControl
    x:Class="RichTextBoxSamples.DemoRtfFilter"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:RichTextBoxSamples"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:c1="using:C1.Xaml"
    xmlns:c1rtb="using:C1.Xaml.RichTextBox"
    mc:Ignorable="d">
    
    <Grid>
        <c1:C1TabControl SelectionChanged="C1TabControl_SelectionChanged" UnselectedContentMode="OutsideVisualTree">
            <c1:C1TabItem x:Name="richTextBoxTab" Header="C1RichTextBox">
                <c1rtb:C1RichTextBox x:Name="richTextBox" />
            </c1:C1TabItem>
            <c1:C1TabItem x:Name="htmlTab" Header="HTML">
                <c1rtb:C1RichTextBox x:Name="htmlBox"/>
            </c1:C1TabItem>
            <c1:C1TabItem x:Name="rtfTab" Header="RTF">
                <c1rtb:C1RichTextBox x:Name="rtfBox" />
            </c1:C1TabItem>
        </c1:C1TabControl>
    </Grid>
</UserControl>
