<Page
    x:Class="RichTextBoxInstalledFonts.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:RichTextBoxInstalledFonts"
    xmlns:c1RTB="using:C1.Xaml.RichTextBox"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="140"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <TextBlock x:Name="pageTitle" Text="C1RichTextBox InstalledFonts Sample" Margin="116,0, 0, 40" IsHitTestVisible="false" Style="{StaticResource PageHeaderTextStyle}"/>
        <c1RTB:C1RichTextBoxMenu x:Name="rtbMenu" RichTextBox="{Binding ElementName=rtb}" Grid.Row="1"  Margin="116,0,100,100" />
        <c1RTB:C1RichTextBox x:Name="rtb" BorderThickness="2" BorderBrush="DarkGray" Grid.Row="1"  Margin="116,0,100,100" />
    </Grid>
</Page>
