<Page x:Class="ControlExplorer.AboutPage"
    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:C1_Phone="using:C1.Xaml" 
    xmlns:local="using:ControlExplorer"
    mc:Ignorable="d">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition />
        </Grid.RowDefinitions>
        <local:PageBackgroundControl Grid.RowSpan="3" />
        <Grid x:Name="Header" Height="56" Background="{StaticResource CE-HeaderBackground}">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <Image Width="40" Height="40" Source="/Resources/Imaging/ico-WP-40px.png" Stretch="Uniform" Margin="16 8 10 8"/>
            <StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center">
                <TextBlock Text="Studio" Margin="0 0 5 0" FontWeight="SemiLight"  Style="{StaticResource CE-HeaderTextBlock}"/>
                <TextBlock Text="WinRT Edition" FontWeight="Bold"  Style="{StaticResource CE-HeaderTextBlock}"/>
            </StackPanel>
        </Grid>
        <TextBlock Grid.Row="1" Text="about" FontSize="56" FontWeight="Light" Margin="16 0" />

        <ScrollViewer Grid.Row="2" Padding="16" MaxWidth="750" HorizontalAlignment="Left">
            <StackPanel>
                <TextBlock Grid.Column="0" Grid.Row="0" TextWrapping="Wrap" Style="{ThemeResource BaseTextBlockStyle}">
                    <Run Text="This app showcases "/>
                    <Bold><Run Text="ComponentOne Studio WinRT Edition" /></Bold><Run Text=": a suite of UI controls and libraries designed to enhance and extend the development experience for "/><Bold><Run Text="Windows Store Apps"/></Bold><Run Text=". "/><LineBreak/>
                </TextBlock>
                <TextBlock TextWrapping="Wrap" Style="{ThemeResource BaseTextBlockStyle}"><Run Text="These real-world demos include "/><Run Text="data visualization with"/><Bold><Run Text=" charts"/></Bold><Run Text=", "/><Bold><Run Text="grids"/></Bold><Run Text=", "/><Bold><Run Text="maps "/></Bold><Run Text="and "/><Bold><Run Text="gauges"/></Bold><Run Text=", as well as "/><Bold><Run Text="rich text editing"/></Bold><Run Text=", "/><Bold><Run Text="imaging"/></Bold><Run Text=", "/><Bold><Run Text="numeric input "/></Bold><Run Text="and "/><Bold><Run Text="PDF rendering"/></Bold><Run Text="."/><LineBreak/><LineBreak/><Bold><Run Text="ComponentOne,"/></Bold><Run Text=" a leading component vendor in the Microsoft Visual Studio Industry Partner program, provides a wide range of Microsoft Visual Studio components, IDE tools and more."/><LineBreak /></TextBlock>

                <StackPanel Orientation="Horizontal">
                    <TextBlock Text="Components version:&#160;&#160;" Style="{ThemeResource BaseTextBlockStyle}"/>
                    <TextBlock Text="{Binding ControlsVersion}" Style="{ThemeResource BaseTextBlockStyle}"/>
                </StackPanel>
                <Image Source="/Resources/Imaging/ico-WP-90px.png" Height="90" Grid.Row="1"  Margin="5 15" VerticalAlignment="Top" />

                <C1_Phone:C1WrapPanel>
                    <Path Data="M7.833334,7.6999993 C7.0969543,7.6999993 6.5000005,8.2820292 6.5000005,8.999999 C6.5000005,9.7179699 7.0969543,10.299999 7.833334,10.299999 L9.1666679,10.299999 L9.1666679,12.9 L7.833334,12.9 C7.0969543,12.9 6.5000005,13.482029 6.5000005,14.199999 C6.5000005,14.91797 7.0969543,15.499999 7.833334,15.499999 L9.1666679,15.499999 L11.833334,15.499999 L13.166667,15.499999 C13.903048,15.499999 14.500001,14.91797 14.500001,14.199999 C14.500001,13.482029 13.903048,12.9 13.166667,12.9 L11.833334,12.9 L11.833334,7.6999993 L9.1666679,7.6999993 z M9.833334,2.4999998 C8.7287645,2.4999998 7.833334,3.3730445 7.833334,4.4499998 C7.833334,5.5269547 8.7287645,6.3999996 9.833334,6.3999996 C10.937903,6.3999996 11.833334,5.5269547 11.833334,4.4499998 C11.833334,3.3730445 10.937903,2.4999998 9.833334,2.4999998 z M10,0 C15.522847,0 20,4.4771523 20,10 C20,15.522847 15.522847,20 10,20 C4.4771523,20 0,15.522847 0,10 C0,4.4771523 4.4771523,0 10,0 z" Stretch="Fill" 
                     VerticalAlignment="Top" Height="45" Width="45" Fill="{ThemeResource PhoneAccentBrush}" HorizontalAlignment="Center" />
                    <TextBlock Text="For more info visit" Margin="10 3 0 0" />
                    <HyperlinkButton Content="componentone.com" Margin="-90,3,0,0" Click="HyperlinkButton_Click"/>
                </C1_Phone:C1WrapPanel>
            </StackPanel>
        </ScrollViewer>
    </Grid>

</Page>
