map improvement

user picture
image crop
This commit is contained in:
2011-03-31 06:24:59 +03:00
parent 833083ca0e
commit c0d31a8652
65 changed files with 3128 additions and 41 deletions
@@ -13,6 +13,12 @@
mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
shell:SystemTray.IsVisible="True">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Loaded">
<cmd:EventToCommand Command="{Binding MainLoadCommand}" />
</i:EventTrigger>
</i:Interaction.Triggers>
<!--LayoutRoot is the root grid where all page content is placed-->
<Grid x:Name="LayoutRoot" Background="Transparent">
<Grid.RowDefinitions>
@@ -21,8 +27,9 @@
</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 x:Name="ApplicationTitle" Text="{Binding Path=ApplicationTitle}" Style="{StaticResource PhoneTextNormalStyle}"/>
<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,12,0,12">
<TextBlock x:Name="ApplicationTitle" Text="{Binding Path=ApplicationTitle}" Style="{StaticResource PhoneTextNormalStyle}"
Foreground="{StaticResource PhoneAccentBrush}" />
<TextBlock x:Name="PageTitle"
Text="{Binding Path=PageNameSettings}" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
</StackPanel>
@@ -35,7 +42,8 @@
Margin="6,0,0,6"
>
<TextBlock Text="My Name"
Style="{StaticResource PhoneTextTitle3Style}" />
Style="{StaticResource PhoneTextTitle3Style}"
/>
<TextBox Height="67"
HorizontalAlignment="Stretch"
Name="txtMyName"
@@ -48,14 +56,15 @@
Margin="0, 24, 0, 24"
Width="200"
Height="200"
Background="#00fffc"
Background="{StaticResource PhoneAccentBrush}"
BorderThickness="0"
Padding="0"
>
<Image x:Name="myPicture"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Margin="3"
Stretch="Uniform"
Margin="1"
Source="{Binding MyPicture}"></Image>
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">