Fork me on GitHub
摘要: var pfn = Package.Current.Id.FamilyName; await Launcher.LaunchUriAsync(new Uri("ms-windows-store://review/?PFN=" + pfn)); 阅读全文
posted @ 2017-10-02 16:32 猫叔Vincent 阅读(231) 评论(0) 推荐(1) 编辑
摘要: public static async Task FeedbackAsync(string address, string subject, string body) { if (address == null) return; var mailto = new Uri($"mailto:{address}?subject={subject}&body={body}"); await Launc... 阅读全文
posted @ 2017-10-02 16:31 猫叔Vincent 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 在ListView中模板的宽度默认不会根据listView的宽度改变为改变,这需要更改一下设置,重点在于设置HorizontalContentAlignment的拉伸模式。注意是HorizontalContentAlignment,而不是HorizontalAlignment。 阅读全文
posted @ 2017-10-02 16:27 猫叔Vincent 阅读(345) 评论(0) 推荐(0) 编辑
摘要: ①KnownFolders KnownFolders.PicturesLibrary 等等列举 ②ApplicationData.Current ApplicationData.Current.LocalFolder 等等列举 阅读全文
posted @ 2017-10-02 16:25 猫叔Vincent 阅读(291) 评论(0) 推荐(0) 编辑
摘要: public static Boolean Windows10Build10240 => ApiInformation.IsApiContractPresent("Windows.Foundation.UniversalApiContract", 1, 0); public static Boolean Windows10Build10586 => ApiInfo... 阅读全文
posted @ 2017-10-02 16:21 猫叔Vincent 阅读(699) 评论(0) 推荐(0) 编辑
摘要: 给Image外面包裹一个ScrollViewer,你会回来感激我的。 哦,对了,PC上需要按住Ctrl键,滑动鼠标滑轮即可;手机上双指就可以缩放。 阅读全文
posted @ 2017-10-02 16:20 猫叔Vincent 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 分类 设置名称 快捷方式 系统 显示 ms-settings:display 通知和操作 ms-settings:notifications 平板电脑模式 ms-settings:tabletmode 电源和睡眠 ms-settings:powersleep 存储 ms-settings:storagesense 脱机地图 ms-settings:maps ... 阅读全文
posted @ 2017-10-02 16:16 猫叔Vincent 阅读(5464) 评论(0) 推荐(2) 编辑
摘要: 参考了 http://www.cnblogs.com/zhanggaoxing/p/6403430.html,并加以改进。 最终效果::: Thumb 的原生事件 DragStarted,DragDelta,DragCompleted。DragStarted 和字面意思差不多,开始拖动的时候发生的。 阅读全文
posted @ 2017-10-02 16:13 猫叔Vincent 阅读(1145) 评论(0) 推荐(0) 编辑
摘要: 这一节,顾名思义,即使你要共享数据给别人,你是数据的提供者。分两步即可1、直接复制代码 2、最后 阅读全文
posted @ 2017-10-02 16:07 猫叔Vincent 阅读(333) 评论(0) 推荐(0) 编辑
摘要: UWP上共享,分为接收者(别人共享数据给你,你接收了,然后在做你的处理)和发送者(你给别人发送数据,就像你的App支持图片共享到微信好友或者朋友圈那样,虽然UWP上的微信并不支持这样子) 很简单(参考Windows on Github\Windows-universal-samples\Sample 阅读全文
posted @ 2017-10-02 16:03 猫叔Vincent 阅读(511) 评论(0) 推荐(0) 编辑