Created
April 27, 2012 19:04
-
-
Save khmylov/2511910 to your computer and use it in GitHub Desktop.
Cleaned up WP7 page template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<phone:PhoneApplicationPage | |
x:Class="$namespace$.Page" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
Style="{StaticResource DefaultPageStyle}" | |
mc:Ignorable="d" | |
d:DesignHeight="800" | |
d:DesignWidth="480"> | |
<Grid Background="Transparent"> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto"/> | |
<RowDefinition Height="*"/> | |
</Grid.RowDefinitions> | |
<StackPanel Margin="{StaticResource PageHeaderPanelMargin}"> | |
<TextBlock | |
Text="{StaticResource ApplicationTitle}" | |
Style="{StaticResource PhoneTextNormalStyle}"/> | |
<TextBlock | |
Text="page name" | |
Margin="{StaticResource PageNameLabelMargin}" | |
Style="{StaticResource PhoneTextTitle1Style}"/> | |
</StackPanel> | |
<Grid | |
Grid.Row="1" | |
Margin="{StaticResource PageContentPanelMargin}"> | |
</Grid> | |
</Grid> | |
</phone:PhoneApplicationPage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace $namespace$ | |
{ | |
public partial class MainView | |
{ | |
public MainView() | |
{ | |
InitializeComponent(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment