win2d How to solve device lost of Win2D's CanvasControl In some case, you may find out that when you call CanvasControl's Invalidate() method, the Draw event will not be raised. Now if you watch the variable of CanvasControl you can find the
design MyerSplash's story 对我甚至是大多数开发者来说,编程的最大动力就是自己的需求——因为自己需要这个东西,所以我就动手做了。 我一直是一个壁纸控,但是在壁纸的选取和使用方面,我是有这样的“洁癖”的: 喜欢自然风景类的; 喜欢写实的,也就是不虚假,后期处理要有限度; 喜欢独一无二的; 桌面必须隐藏桌面图标; Bing 壁纸是一个不错的选择,但是每天只更新一张壁纸同时每天更新的也不一定符合口味(比如有时候会突然冒出一只两栖动物的大头照 lol)。在此推荐一下一个小伙伴开发的碧影壁纸(这个名字也是有故事的~~),在 Windows Store 搜索碧影壁纸或者 Bingo 即可。 在好几个月之前,在@优秀网页设计 的微博里,发现了好几个可以免费商用的图片网站,
uwp Some tips to update UI details to make your app look great. (1/2) 本文分2次写,第一部分不涉及具体的代码,只从纸面上谈一下我对一些 UI 细节的看法;同时第一版先写中文,后续更新英文。 毫无疑问的是,一个 UI 好看的 App,总不会受到用户冷落:诸如天气类的应用,其实提供的功能大多都差不多,用户选择的时候,其实多数会留意哪个的 UI 好看然后选择用哪个。然后,同样好看的应用,对 UI 细节处理更好的一个更能获得用户青睐;对我来说,使用一款 UI/UX 优秀的应用是一件令人愉悦的事情,这就是相比 Windows/iOS,我更喜欢
windows-10 How to make icons in TaskBar unplated in UWP apps. First look at the image below, the left most one shows a plated icon and the other ones are of unplated. The word plated means that there is a rectangle with current Theme
custom-control A control that plays key frame animation USAGE Add this to your XAML: <cc:KeyFrameAnimationControl PlayAnimation="{x:Bind PhotoVM.PlayLikeAnimation,Mode=TwoWay}" ImagesSource="{x:Bind PhotoVM.LikeIconsSrc,Mode=OneWay}" AnimationTimeSpan="300" IsStayInLastFrame="
win2d Apply image effect using Win2D First, there is an official document of Win2D here. And the source code & example are hosted here. For the fact that the example code are too much and maybe you can't find
uwp Implement a FlipView-like control that supports looping. Introduction 正如我们所知道的,内置控件 FlipView 并不支持循环滚动——也就是无法从最后一项滚动到第一项,就像第一项本来就跟在最后一项一样。不过针对 FlipView 控件本身,通过某些技巧可以做到这一点: 当 FlipView 的 SelectedIndex 属性到达 Count-1 的时候,手动将其设为0;同样地,在到达 -1 的时候,手动设为最后一项。但是,FlipView 内置的项目之间的平滑滚动动画,只有在 +1 或者 -1 的时候才能触发。因此这种
uwp Accumulated knowledge for develping UWP apps Introduction This is an article for some knowledge involved with developing UWP apps, which contains some tips or tricks or lite solutions that help developing UWP apps. Disable pinch and zoom in WebView