<Page x:Class="StockPortfolio.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="using:C1.Xaml" 
      RequestedTheme="Light"
    xmlns:local="using:ControlExplorer"
     x:Name="pageRoot"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition />
        </Grid.RowDefinitions>
        <!--<local:PageBackgroundControl Grid.RowSpan="3" />-->
        <Grid x:Name="Header" Height="56" Visibility="{Binding HeaderVisbility,ElementName=pageRoot}" Background="{StaticResource CE-HeaderBackground}">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <Image Width="40" Height="40" Source="ms-appx:///Assets/ico-WP-40px.png" Stretch="Uniform" Margin="9 8"/>
            <StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center">
                <TextBlock Text="C" FontWeight="SemiLight"  Style="{StaticResource CE-HeaderTextBlock}"/>
                <TextBlock Text="1" Margin="0 0 5 0" FontWeight="Bold"  Style="{StaticResource CE-HeaderTextBlock}"/>
                <TextBlock Text="Stock Portfolio" Margin="0 0 5 0" FontWeight="SemiLight"  Style="{StaticResource CE-HeaderTextBlock}"/>
                <TextBlock Text="Manager" FontWeight="Bold"  Style="{StaticResource CE-HeaderTextBlock}"/>
            </StackPanel>
        </Grid>


        <ScrollViewer Grid.Row="2" Padding="10 20 20 20" MaxWidth="750" HorizontalAlignment="Left" Foreground="#FF444444">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <StackPanel>
                    <TextBlock Grid.Column="0" Grid.Row="0" TextWrapping="Wrap">
                    <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/Windows Phone Apps"/></Bold><Run Text=". "/>
                    </TextBlock>
                    <TextBlock TextWrapping="Wrap">
                    <LineBreak/>
                    <Run Text="This Stock Manager demo include "/>
                    <Run Text="data visualization with"/><Bold>
                        <Run Text=" charts"/></Bold><Run Text=", "/>
                    <Bold><Run Text="grids"/></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>
                    <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: " />
                    <TextBlock Text="{Binding ControlsVersion}" />-->
                    </StackPanel>
                    <Image Source="ms-appx:///Assets/ico-WP-90px.png" Height="90" Grid.Row="1" Stretch="Uniform" Margin="5 25" VerticalAlignment="Top" />
                </StackPanel>
                <Grid Grid.Row="1" Margin="0 10">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                        <Path Margin="0 0 10 0" 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="Uniform" 
                     VerticalAlignment="Top" Height="30" Width="30" Fill="#FF444444" HorizontalAlignment="Center" />
                    <StackPanel Grid.Column="1">
                        <TextBlock Text="For more info visit" />
                        <HyperlinkButton Content="componentone.com" Padding="0 -5 0 0" Click="HyperlinkButton_Click" FontSize="16"/>
                    </StackPanel>
                </Grid>
                
            </Grid>
           
        </ScrollViewer>
    </Grid>

</Page>
