11 2012 档案

Windows 8 开发系列- 自定义Gridview 绑定列表数据时出错
摘要:错误提示:这是绑定后通过按钮事件查看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 阅读(378) 评论(0) 推荐(0)

Windows 8 开发系列- metro 程序里面没有提供关闭App的事件
摘要: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 阅读(457) 评论(0) 推荐(0)

Windows 8 开发系列- App Resume的静态突然清空问题
摘要: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 阅读(214) 评论(0) 推荐(0)

导航