2012年6月6日

wp 之path详细 以及一个关于LinearGradientBrush 的动画

摘要: 首先LinearGradientBrush 画刷竟然包含Trsanslate 属性也就有x,y 属性 <Path HorizontalAlignment="Center" VerticalAlignment="Center" StrokeThickness="25" Data="M 1... 阅读全文

posted @ 2012-06-06 15:37 GIS-MAN 阅读(339) 评论(0) 推荐(0)

WP数据绑定

摘要: 绑定到自己 首先source 变成RelativeSource , Text="{Binding RelativeSource={RelativeSource Self}, ,path 就是绑定的数据,vs会在编写xaml代码的时候 直接体现出来(不用编译) 阅读全文

posted @ 2012-06-06 15:12 GIS-MAN 阅读(234) 评论(0) 推荐(0)

一个小范围 滑动的动画

摘要: public void Transform(double from, double to, FrameworkElement target, double duration) { Storyboard sb = new Storyboard(); ScaleTransform scale = new ScaleTransform();... 阅读全文

posted @ 2012-06-06 10:56 GIS-MAN 阅读(188) 评论(0) 推荐(0)

wp toolkit 之 HubTile

摘要: <toolkit:HubTile GroupTag="QuickLink" Notification="{Binding Notification}" Message="{Binding Message}" Title="{Binding Title}" Source="{Binding Src}" Background="{StaticResource PhoneAccentBrush}"/... 阅读全文

posted @ 2012-06-06 10:43 GIS-MAN 阅读(250) 评论(0) 推荐(0)

windwos phone 的listbox 的各种细节

摘要: http://www.cnblogs.com/Watson/archive/2012/06/01/2531396.html 此处为原文 如果不给itemspanel 结果会是下面这样子,如果不注释掉的话 是下面这样子(这是itempanel里面放wrappanel 的结果) 遍历listbox里面的item , for (int i = 0; i < listBox.Items.Co... 阅读全文

posted @ 2012-06-06 10:20 GIS-MAN 阅读(234) 评论(0) 推荐(0)

导航