上一页 1 2 3 4 5 6 7 ··· 19 下一页

2012年12月3日

摘要: 长按Fn弹出后选择:传统 阅读全文
posted @ 2012-12-03 14:57 SUNJUNLIN 阅读(2884) 评论(0) 推荐(0) 编辑

2012年11月21日

摘要: 错误提示:这是绑定后通过按钮事件查看itemsource时发现的(这是一个好方法,可以对obser collection检查)程序集“mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”中的泛型类型“System.Collections.Generic.ICollection`1”所用的泛型参数数目不正确。 <local:VariableGridView.ItemsPanel> <ItemsPanelTemplate> ... 阅读全文
posted @ 2012-11-21 11:13 SUNJUNLIN 阅读(361) 评论(0) 推荐(0) 编辑

2012年11月20日

摘要: App closeGenerally, users don't need to close apps, they can let Windows manage them. However, users can choose to close an app using the close gesture or by pressing Alt+F4. You can't include any UI in your app to enable the user to close your app, or it won't pass the Store certificati 阅读全文
posted @ 2012-11-20 14:40 SUNJUNLIN 阅读(444) 评论(0) 推荐(0) 编辑
摘要: NavigateMode与App Resume的冲突Loadstate是启动页面加载的;SaveState是离开页面是加载的;Suspending是挂起应用;Resuming是恢复应用;当设置-NavigateMode时,恢复应用时,很无语的发现静态变量在进行循环会变0;for (int i = 0; i < LocalStorage.Data.Count; i++){Attention at = LocalStorage.Data[i] as Attention;await LocalStorage.RestoreAttentionImageAsync(at);}后来只能再转换成局部变 阅读全文
posted @ 2012-11-20 13:56 SUNJUNLIN 阅读(203) 评论(0) 推荐(0) 编辑

2012年10月19日

摘要: 左侧仅仅保存5个应用,当应用不再显示左侧快速访问栏目时,只能通过tile访问,但点击后可恢复到原来的状态 阅读全文
posted @ 2012-10-19 16:34 SUNJUNLIN 阅读(128) 评论(0) 推荐(0) 编辑

2012年9月29日

摘要: ///判断当前页面是否已经转过来,如是则不做动作 if (YepComMianFrame.CurrentSourcePageType.Name != "GroupPage") { YepComMianFrame.Navigate(typeof(GroupPage), "群组"); }判断当着来源页面是否已经是当前页面了,如果是则不跳转 阅读全文
posted @ 2012-09-29 09:36 SUNJUNLIN 阅读(215) 评论(0) 推荐(0) 编辑

2012年9月28日

摘要: You have to set the Style and the Foreground in this way:<ProgressBar Foreground="Yellow" IsIndeterminate="True" Style="{StaticResource CustomProgressBarStyle}"/>You can also find default themes styles in the folder "C:\Program Files (x86)\Windows Kits\8.0\In 阅读全文
posted @ 2012-09-28 15:39 SUNJUNLIN 阅读(247) 评论(0) 推荐(0) 编辑

2012年8月23日

摘要: 可以在<VisualState x:Name="Snapped">下控制appbar按钮的可见,但要记得不要单独在某个页面设置,要在globalappbar.xaml里面设置。 阅读全文
posted @ 2012-08-23 10:49 SUNJUNLIN 阅读(213) 评论(0) 推荐(0) 编辑

2012年8月16日

摘要: <Page.BottomAppBar> <AppBar> <AppBar.Resources> <Style x:Key="MyAppBarButtonStyle" TargetType="Button" BasedOn="{StaticResource AppBarButtonStyle}"> <Setter Property="AutomationProperties.AutomationId" Value="MyAppBarButton" 阅读全文
posted @ 2012-08-16 23:09 SUNJUNLIN 阅读(207) 评论(0) 推荐(0) 编辑

2012年8月10日

摘要: 全局资源App.xml的ContentFontsize在APP中定义,但没有给确定的数字,这样会导致应用退出如下:<TextBlock TextWrapping="Wrap"Width="20" Height="Auto" FontSize="{StaticResourceContentFontsize}" Canvas.Top="42" Canvas.Left="60">改为:<TextBlock TextWrapping="Wrap" 阅读全文
posted @ 2012-08-10 14:52 SUNJUNLIN 阅读(177) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 19 下一页

导航