随笔分类 -  WindowsPhone

wp中TextBox介绍
摘要:<!-- 自定义样式 --> <phone:PhoneApplicationPage.Resources> <ResourceDictionary> <Style x:Key="TextBoxStyle1" TargetType="TextBox"> <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilyNormal}"></Setter> <Setter 阅读全文

posted @ 2013-06-19 22:27 wp456 阅读(232) 评论(0) 推荐(0)

wp中TextBlock介绍
摘要:TextBlock是用于显示少量文本的轻量控件,可以通过TextBlock呈现只读的文本。<TextBlock x:Name="TextBlock2" Height="30" Text="你好,我是TextBlock控件" Foreground="Red" Margin="25,84,177,493"></TextBlock> <TextBlock Margin="25,212,19,425"> <TextBlock.Inlines& 阅读全文

posted @ 2013-06-18 22:36 wp456 阅读(727) 评论(0) 推荐(0)

wp中控件基类介绍
摘要:大部分wp控件都直接或间接的继承自:UIElment,FrameworkElment,Control这三个基类,他们层次关系是,Control继承FrameworkElment继承UIElment,每个类都增加了各自的属性和事件。然而有些控件继承自Control类,例如:Button控件。<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <Button Content="按钮1" Height="72" W 阅读全文

posted @ 2013-06-17 22:25 wp456 阅读(208) 评论(0) 推荐(0)

XAML介绍
摘要:<phone:PhoneApplicationPage x:Class="HelloWorld.MainPage" 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" 阅读全文

posted @ 2013-06-16 15:17 wp456 阅读(230) 评论(0) 推荐(0)

学习wp开发第一次总结
摘要:今天看了下wp开发书,顺便总结一下。首先说下MainPage.xaml的页面结构。<phone:PhoneApplicationPage x:Class="HelloWorld.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:phone="clr-namespace:Microsoft.Phone 阅读全文

posted @ 2013-06-08 22:28 wp456 阅读(297) 评论(0) 推荐(0)

导航