摘要: In this artcile we will discuss about DatePicker and TimePicker control in Window Phone 7. DatePicker and TimePicker control comes along with Silverlight Windows Phone Toolkit. DatePicker and TimePicker are important controls to select date in Windows Phone 7.DownloadSilverlight Windows Phone Toolki 阅读全文
posted @ 2012-05-07 17:40 AGA2012 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 1,Visibility属性可以隐藏和显示控件,属性:Visible显示和Collapsed隐藏两个属性。2,布局时如果设置,Collapsed属性,控件以零大小显示,可能会使一些表格布局改变。3,可以使用Opacity代替,Opacity="0",但是会影响触摸响应,加上IsHitTestVisible=“False”就可以。4,代码中设置为:this.textBlock.Visibility=Visibilety.Visible。 阅读全文
posted @ 2012-05-07 15:43 AGA2012 阅读(237) 评论(0) 推荐(0) 编辑
摘要: I have two list pickers. When first list picker have selection changed it should filter data of second list picker. Second ListPicker xaml is like this<TextBlockHorizontalAlignment="Left"Style="{StaticResource PhoneTextNormalStyle}"TextWrapping="Wrap"Text="text& 阅读全文
posted @ 2012-05-07 14:37 AGA2012 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 例:<toolkit:ListPicker Name="CategoryPicker" ItemsSource="{Binding Category}" CacheMode="BitmapCache" FullModeHeader="{Binding Path=Resources.TheHeader}" SelectedIndex="{Binding TheCurrentIndex, Mode=OneWay}" IsEnabled="{Binding IsViewEnabled} 阅读全文
posted @ 2012-05-07 11:39 AGA2012 阅读(291) 评论(0) 推荐(0) 编辑
摘要: DatePicker概述Windows Phone Toolkit的DatePicker是一个能为你自动提供一个输入框的UI元素,当你在选择它时,选择器会显示一个表单你可以使用无限滑动的方式选择另一个日期,DatePicker 是符合Windows Phone设计规范的 UX控件。准备开始使用DatePicker必须先在你的项目中添加引用Microsoft.Phone.Controls.Toolkit.dllNote:在安装完Toolkit后你可以在下面路径找到Microsoft.Phone.Controls.Toolkit.dllFor 32-bit systems:C:\Program F 阅读全文
posted @ 2012-05-07 10:11 AGA2012 阅读(686) 评论(1) 推荐(0) 编辑
摘要: 这个属性被微软改成只读的了。运行时候不能用。 阅读全文
posted @ 2012-05-07 10:11 AGA2012 阅读(147) 评论(0) 推荐(0) 编辑