随笔分类 -  WP8

摘要:byte[] _DiseaseImage; [Column(DbType = "Image", UpdateCheck = UpdateCheck.Never)] //保证图像超出8K时不会出错 public byte[] DiseaseImage { ... 阅读全文
posted @ 2014-03-10 16:55 眾尋 阅读(171) 评论(0) 推荐(0) 编辑
摘要:选择程序包管理器控制台在PM后输入Install-Package WPtoolkit可自动下载PM> Install-Package WPtoolkit在xaml中添加引用xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=M... 阅读全文
posted @ 2014-03-06 09:49 眾尋 阅读(205) 评论(0) 推荐(0) 编辑
摘要:前台后台private T FindFirstElementInVisualTree(DependencyObject parentElement) where T : DependencyObject{var count = VisualTreeHelper.GetChildrenCount(pa... 阅读全文
posted @ 2014-03-05 20:54 眾尋 阅读(258) 评论(0) 推荐(0) 编辑
摘要:一共两个页面,第一个为MainPage.xaml,代码如下: 1 2 3 4 5 6 7 8 ... 阅读全文
posted @ 2014-03-05 17:53 眾尋 阅读(268) 评论(0) 推荐(0) 编辑
摘要:Panorama 1、提供了更丰富的用户体验(建议最多4个Items项) 2、Item可以设置屏幕方向为水平,支持多于一个屏幕的显示 3、可以使用任意大小的背景图片,Panorama会自动地缩放为屏幕适合的大小 4、建议不要使用ApplicationBarPivot 1、支持更多数量的It... 阅读全文
posted @ 2014-03-05 15:32 眾尋 阅读(237) 评论(0) 推荐(0) 编辑
摘要:Windows phone 全景视图下为了实现可以上下滑动需要使用listbox。需要的布局什么的,在listbox中填写 阅读全文
posted @ 2014-03-05 14:11 眾尋 阅读(227) 评论(0) 推荐(0) 编辑
摘要:(Application.Current.RootVisual as PhoneApplicationFrame).Navigate(new Uri("/NewContent.xaml", UriKind.Relative)); 阅读全文
posted @ 2014-03-04 21:43 眾尋 阅读(209) 评论(0) 推荐(0) 编辑
摘要:(App.Current.RootVisual as PhoneApplicationFrame).Navigate(new Uri("/MainPage.xaml", UriKind.Relative)); 阅读全文
posted @ 2014-03-04 20:52 眾尋 阅读(523) 评论(0) 推荐(0) 编辑
摘要:protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e) {//需要设置这个属性 e.Cancel = true; }根据具体情况来判断是... 阅读全文
posted @ 2014-03-04 19:45 眾尋 阅读(157) 评论(0) 推荐(0) 编辑
摘要:新建一个UserControl,添加到相应位置前台代码相应的后台代码namespace ImageProcessing{public partial class MessagePhoto : UserControl{ public MessagePhoto(){InitializeComponent... 阅读全文
posted @ 2014-03-04 19:06 眾尋 阅读(347) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
主题色彩