<UserControl x:Class="ControlExplorer.SourceCode"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:ControlExplorer"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             d:DesignHeight="300"
             d:DesignWidth="300"
             mc:Ignorable="d">
    <Grid>
        <c1:C1TabControl BorderThickness="0">
            <c1:C1TabControl.Items>
                <c1:C1TabItem Header="{Binding XamlFileName}">
                    <local:SyntaxHighlighter Mode="Xaml" Text="{Binding Xaml}" />
                </c1:C1TabItem>
                <c1:C1TabItem Header="{Binding CodeFileName}">
                    <local:SyntaxHighlighter Mode="CSharp" Text="{Binding Code}" />
                </c1:C1TabItem>
            </c1:C1TabControl.Items>
        </c1:C1TabControl>
        <c1:C1ProgressIndicator x:Name="progressIndicator"
                                Width="45"
                                Height="45"
                                HorizontalAlignment="Center"
                                VerticalAlignment="Center"
                                Foreground="Blue">
            <c1:C1ProgressIndicator.RenderTransform>
                <ScaleTransform ScaleX="2" ScaleY="2" />
            </c1:C1ProgressIndicator.RenderTransform>
        </c1:C1ProgressIndicator>
    </Grid>
</UserControl>
