Skip to content

Instantly share code, notes, and snippets.

@wtuts
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wtuts/92e70a11aacc8aaef8d0 to your computer and use it in GitHub Desktop.
Save wtuts/92e70a11aacc8aaef8d0 to your computer and use it in GitHub Desktop.
Trial version implementation
<!--LayoutRoot is the root grid where all page content is placed-->
<Grid x:Name="LayoutRoot" Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!--TitlePanel contains the name of the application and page title-->
<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
<TextBlock Text="Trial app" Style="{StaticResource PhoneTextNormalStyle}" Margin="12,0"/>
<TextBlock Text="MainPage" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
</StackPanel>
<!--ContentPanel - place additional content here-->
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<Button x:Name="firstbutton" Content="First Page" HorizontalAlignment="Left" Margin="78,83,0,0" VerticalAlignment="Top" Width="302" Click="Firstbuttonclick"/>
<Button x:Name="secondbutton" Content="Second Page" HorizontalAlignment="Left" Margin="78,198,0,0" VerticalAlignment="Top" Width="302" Click="Secondbuttonclick" IsEnabled="False"/>
<TextBlock x:Name="statusblock" HorizontalAlignment="Left" Margin="121,389,0,0" TextWrapping="Wrap" Text="Trial Version" VerticalAlignment="Top" Height="57" Width="223" FontSize="36"/>
<Button x:Name="buybutton" Content="Buy application" HorizontalAlignment="Left" Margin="28,477,0,0" VerticalAlignment="Top" Width="401" Click="buybuttonclick"/>
</Grid>
</Grid>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment