随笔分类 - UWP
UWP开发
摘要:WindowsCommunityToolkit: https://github.com/CommunityToolkit/WindowsCommunityToolkit You can also preview the capabilities of the toolkit by downloadi
阅读全文
摘要:<InkCanvas Name="inkCanvas"></InkCanvas> <Button Name="btnRecognize" Content="RecognizeAsync" HorizontalAlignment="Left" Height="104" Margin="0,0,0,0"
阅读全文
摘要:public static Size ScreenSize { get { //screen resolution var height = DisplayInformation.GetForCurrentView().ScreenHeightInRawPixels; var width = Dis
阅读全文
摘要:<Page x:Class="Win2DDemo.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/
阅读全文
摘要:public async void BitmapTransformAndSaveTest() { var uncroppedfile = await Windows.Storage.ApplicationData.Current.LocalFolder.GetFileAsync("uncropped
阅读全文
摘要:主要是利用 Pp_ProgressChanged 报告进度; private void BtnDownload_Click(object sender, RoutedEventArgs e) { var pp = new Progress<string>();// or 直接传入参数 action:
阅读全文
摘要:1. 在项目根目录创建Strings文件夹,再Strings文件夹创建需要的语言名子目录,再添加资源文件Resources.resw,目录构如: Strings\en-US\Resources.resw ,Strings\zh-CN\Resources.resw 2. 在各语言的Resources.
阅读全文
摘要:List<Pics> pics = new List<Pics>(); for (int i = 0; i < 2000; i++) { pics.Add(new Pics() { cat="滴滴滴", catid="2", cover="333333333333333333333333333333
阅读全文
摘要:参考文字: https://mtaulty.com/2016/08/10/windows-10-uwp-and-composition-light-and-shade/ <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBr
阅读全文
摘要:async void test() { Color replaceBlack = Color.FromArgb(224,233,55,6); Color replaceWhite = Color.FromArgb(224, 233, 222, 222); // BitmapImage bmpimg
阅读全文
摘要:refer: https://www.cnblogs.com/lonelyxmas/p/7650259.html using System; using System.Collections.Generic; using System.Collections.ObjectModel; using S
阅读全文
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Li...
阅读全文
摘要:UWP 播放直播流 3MU8 参考:http://www.c-sharpcorner.com/UploadFile/2b876a/http-live-streaming-in-windows-10-uwp/ Create new Windows 10 project and go to MainPa
阅读全文
摘要:Internet Explorer Internet Explorer 在Windows 10 升级为Edge模式,是一种交互性和兼容性都很强的新型浏览器,该浏览器相比以前的版本更新了超过2000个操作性问题,支持20个新平台特性来促进交互性和兼容性。详情: http://blogs.msdn.co
阅读全文