<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="PdfCreator.Advanced" Background="#FF374F5D" mc:Ignorable="d" 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">
    <UserControl.Resources>
        <Style x:Key="borderStyle" TargetType="Border">
            <Setter Property="BorderThickness" Value="0 0 0 2" />
            <Setter Property="BorderBrush" Value="#FF7187AD" />
            <Setter Property="Background" Value="Transparent" />
            <Setter Property="CornerRadius" Value="0" />
            <Setter Property="Height" Value="40" />
        </Style>
        <Style x:Key="btnStyle" TargetType="Button">
            <Setter Property="Margin" Value="8" />
            <Setter Property="Width" Value="120" />
            <Setter Property="Height" Value="28" />
            <Setter Property="VerticalAlignment" Value="Center" />
        </Style>
    	<Style x:Key="CE_Text" TargetType="TextBlock">
    		<Setter Property="VerticalAlignment" Value="Center" />
    		<Setter Property="TextWrapping" Value="Wrap" />
    		<Setter Property="Foreground" Value="#FFF0F8FE" />
    		<Setter Property="FontFamily" Value="Portable User Interface" />
    		<Setter Property="FontSize" Value="11" />
    	</Style>
    	<Style x:Key="CE_TextBkg" TargetType="Border">
    		<Setter Property="Background">
    			<Setter.Value>
    				<LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
    					<GradientStop Color="#99071D2E" Offset="0" />
    					<GradientStop Color="#00071D2E" Offset="1" />
    				</LinearGradientBrush>
    			</Setter.Value>
    		</Setter>
    		<Setter Property="Padding" Value="5" />
    		<Setter Property="CornerRadius" Value="2" />
    	</Style>
    </UserControl.Resources>
    
    <ScrollViewer BorderBrush="Transparent" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
    	<Grid Margin="10 2 10 2" x:Name="Panel" VerticalAlignment="Center">
    		<Grid.ColumnDefinitions>
    			<ColumnDefinition Width="Auto" />
    			<ColumnDefinition Width="*" />
    		</Grid.ColumnDefinitions>
    		<Grid.RowDefinitions>
    			<RowDefinition Height="Auto" />
    			<RowDefinition Height="10" />
    			<RowDefinition Height="Auto" />
    			<RowDefinition Height="10" />
    			<RowDefinition Height="Auto" />
    			<RowDefinition Height="10" />
    			<RowDefinition Height="Auto" />
    			<RowDefinition Height="*" />
    		</Grid.RowDefinitions>
    		<Button x:Name="btnPaperSize" Style="{StaticResource btnStyle}" Grid.Row="0" Content="Paper Sizes" Margin="0,0,5,0" />
    		<Border Grid.Row="0" Grid.Column="1" Style="{StaticResource CE_TextBkg}">
    			<TextBlock Style="{StaticResource CE_Text}" Text="Creates a document containing multiple paper sizes and orientations." />
    		</Border>
    		<Button x:Name="btnTables" Style="{StaticResource btnStyle}" Grid.Row="2" Content="Tables" Margin="0,0,5,0" />
    		<Border Style="{StaticResource CE_TextBkg}" Grid.Row="2" Grid.Column="1">	
    			<TextBlock Style="{StaticResource CE_Text}" Text="Creates a document with NorthWind information. Shows how to do tables with indentation and alignment." />
    		</Border>	
    		<Button x:Name="btnTableOfContent" Style="{StaticResource btnStyle}" Grid.Row="4" Content="Table of Contents" Margin="0,0,5,0" />
			<Border Style="{StaticResource CE_TextBkg}" Grid.Row="4" Grid.Column="1">
    			<TextBlock Style="{StaticResource CE_Text}" Text="Creates a document with a Table of Contents. Shows how to move pages within the document." />
    		</Border>	
    		<Button x:Name="btnTextFlow" Style="{StaticResource btnStyle}" Grid.Row="6" Content="Text Flow" Margin="0,0,5,0" />
    		<Border Style="{StaticResource CE_TextBkg}" Grid.Row="6" Grid.Column="1">
    			<TextBlock Style="{StaticResource CE_Text}" Text="Shows how to flow text into columns and pages." />
    		</Border>
    	</Grid>
    </ScrollViewer>

</UserControl>