<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="InvExplorer.AboutView" mc:Ignorable="d" d:DesignHeight="400" d:DesignWidth="600" 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 TargetType="TextBlock" x:Key="_stTopic">
      <Setter Property="FontSize" Value="20" />
      <Setter Property="FontWeight" Value="Bold" />
      <Setter Property="Margin" Value="0" />
    </Style>
    <Style TargetType="TextBlock">
      <Setter Property="FontSize" Value="16" />
      <Setter Property="TextWrapping" Value="Wrap" />
      <Setter Property="Margin" Value="20 0 0 8" />
    </Style>
  </UserControl.Resources>

  <Grid x:Name="LayoutRoot" Background="White">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition />
    </Grid.RowDefinitions>
    
    <!-- title -->
    <Border Padding="4 12" Background="Black">
      <TextBlock Text="about" Style="{StaticResource _stTitle}" />
    </Border>

    <!-- content -->
    <ScrollViewer Grid.Row="1">
      <Border Padding="20">
        <StackPanel>

          <TextBlock Text="Invexplorer" Style="{StaticResource _stTopic}" />
          <TextBlock>
            <Bold>Invexplorer</Bold> allows users to build portfolios with stocks, optionally including 
            purchase quantity and price paid for the stock.
          </TextBlock>
          <TextBlock>
            <Bold>InvExplorer</Bold> retrieves financial data from web services and uses it to calculate the 
            current value and change in each portfolio, and to create charts comparing the evolution in value
            for the stocks included in the portfolios.
          </TextBlock>
          <TextBlock>
            <Bold>Invexplorer</Bold> supports user forms-based user authentication. If you create an account
            and log in, your portfolios are automatically persisted with the account, so
            whenever you log in -- from any computer -- your portfolios are automatically
            retrieved.
          </TextBlock>
          <TextBlock>
            The <Bold>Invexplorer</Bold> sample application was inspired by Google Finance
            (www.google.com/finance).
          </TextBlock>
          <TextBlock Text=" " />

          <TextBlock Text="Data Sources" Style="{StaticResource _stTopic}" />
          <TextBlock>
            <Bold>Invexplorer</Bold> retrieves current and historical stock information from one of three sources: 
            <Bold>Google finance</Bold>, <Bold>Yahoo finance</Bold>, or a random generator.
          </TextBlock>
          <TextBlock>
            <Bold>Important</Bold>: the Google and Yahoo financial services are not free and cannot be used 
            without permission. If you want to use those data sources in commercial applications, contact 
            Google or Yahoo to obtain the necessary permission.
          </TextBlock>
          <TextBlock Text=" " />

          <TextBlock Text="Cool Controls" Style="{StaticResource _stTopic}" />
          <TextBlock>
            <Bold>InvExplorer</Bold> includes source code for several controls that can be reused in other 
            applications. These include:
          </TextBlock>
          <TextBlock>
            <Bold>TransitionPanel:</Bold> a panel that contains several elements and implements commands to
            navigate between the panels (by index or by name). The control supports customizable animated
            transitions between the panels.
          </TextBlock>
          <TextBlock>
            <Bold>SearchBox:</Bold> a TextBox with search capabilities that support large numbers of items 
            (this sample has over 6,000), a flexible search mechanism, and a drop down that highlights partial 
            matches. In this application, the SearchBox is used to select stocks to add to the portfolio.
          </TextBlock>
          <TextBlock>
            <Bold>GridSplitter:</Bold> a control that allows users to resize grid rows and columns. It is 
            similar to the GridSplitter included in the System.Windows.Controls assembly, but does not require 
            any additional dependencies.
          </TextBlock>
          <TextBlock Text=" " />
          <TextBlock Text="Historical Notes" Style="{StaticResource _stTopic}" />
          <TextBlock>
            The original version of this sample was called <Bold>StockPortfolio</Bold> and was created for 
            the ReMIX 07 conference in Boston, to show that Silverlight could be used to create business 
            applications.
          </TextBlock>
          <TextBlock>
            Since then, Silverlight and its entire eco-system have evolved tremendously, and we felt it 
            was time to update the sample. This new version was written using Silverlight 5, the latest 
            ComponentOne <Bold>C1FlexGrid</Bold> and <Bold>C1Chart</Bold> controls, and following the
            MVVM architecture.
          </TextBlock>
          <TextBlock Text=" " />

          <TextBlock Text="Disclaimer" Style="{StaticResource _stTopic}" />
          <TextBlock>
            <Bold>Invexplorer</Bold> is only a sample application. It should never be used as a basis for 
            investment of any kind. One of the financial data providers used is entirely random, so the 
            data may be completely wrong.
          </TextBlock>
          <TextBlock Text=" " />
        </StackPanel>
      </Border>
    </ScrollViewer>
  </Grid>
</UserControl>