第一次接触windows phone 7.1的开发

我是看了一篇入门教程后发现里面所说的参数和我使用的版本已经不同了。所以记录下吧

 

 <!--TitlePanel 包含应用程序的名称和页标题-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="ApplicationTitle" Text="jshop_wp7.1" Style="{StaticResource PhoneTextNormalStyle}"/>
            <TextBlock x:Name="PageTitle" Text="欧斯塔克商城" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
        </StackPanel>

        <!--ContentPanel - 在此处放置其他内容-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <Button Content="点我" Height="72" HorizontalAlignment="Left" Margin="146,139,0,0" Name="button1" VerticalAlignment="Top" Width="160" Click="button1_Click_1" />
        </Grid>

这里有个style我没有明白,值是在xml中定义的,但是貌似是系统提供的。

 

以前做过c#开发,感觉很顺手。 

 

你可能感兴趣的:(windows phone)