WP7 About Page

Yesterday i came across a forum request asking about what to include in About Page. Finding About page sample is not easy as its a very common word.

In my apps, About page contains:

1) App Name & Version followed by Company Name (in next line)
2) Buy this app (for trial users) button
3) Rate this app button
4) Email us button
5) Other apps button

Lets look at the XAML


<StackPanel Orientation=”Vertical”>
  <StackPanel Orientation=”Horizontal” HorizontalAlignment=”Center”>
    <TextBlock TextAlignment=”Center” FontSize=”30″ Text=”{Binding Path=LocalisedResources.AppName}” />
    <TextBlock Margin=”10, 0, 0, 0″ TextAlignment=”Center” FontSize=”30″ Text=”{Binding Path=LocalisedResources.VersionText}” />
  </StackPanel>
  <TextBlock TextAlignment=”Center” FontSize=”20″ Margin=”0,0,0,50″ Text=”Invoke IT Limited” />
 
  <Button Name=”btnBuy” Click=”btnBuy_Click” Content=”{Binding Path=LocalisedResources.BuyNowText}” Visibility=”Collapsed” />
 
  <Button Name=”btnRate” Click=”btnRate_Click” Content=”{Binding Path=LocalisedResources.RateText}” />
 
  <TextBlock Margin=”10, 20, 10, 0″ TextAlignment=”Left” Text=”{Binding Path=LocalisedResources.FeedbackMessage}” TextWrapping=”Wrap” />
  <Button Name=”btnEmailUs” Click=”btnEmailUs_Click” Margin=”0,20″ Content=”{Binding Path=LocalisedResources.EmailText}” />
 
  <Button Name=”btnShowApps” Click=”btnShowApps_Click” Content=”{Binding Path=LocalisedResources.OtherAppsText}” />
</StackPanel>

The code behing just uses various tasks to achieve desired functionality

private void btnBuy_Click(object sender, RoutedEventArgs e)
{
  MarketplaceDetailTask mdt = new MarketplaceDetailTask();
  mdt.Show();
}

private void btnRate_Click(object sender, RoutedEventArgs e)
{
  MarketplaceReviewTask mrt = new MarketplaceReviewTask();
  mrt.Show();
}

private void btnEmailUs_Click(object sender, RoutedEventArgs e)
{
  EmailComposeTask ect = new EmailComposeTask();
  ect.To = "info@emailus.com";
  ect.Subject = String.Format("Learn to write {0}", AppStrings.VersionText);
  ect.Show();
}

private void btnShowApps_Click(object sender, RoutedEventArgs e)
{
  MarketplaceSearchTask mst = new MarketplaceSearchTask();
  mst.SearchTerms = "invoke it limited";
  mst.Show();
}

2 thoughts on “WP7 About Page

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s