Uutiset

Adafyn kuulumisia

UWP SemanticZoom with GridView Sample App

<p><a href="http://mikaelkoskinen.net/posts/files/6efd3b02-9afa-45ac-8d0f-fc79932c654f.png"><img title="image" style="border-top:0;border-right:0;background-image:none;border-bottom:0;float:right;padding-top:0;padding-left:0;border-left:0;display:inline;padding-right:0" border="0" alt="image" src="http://mikaelkoskinen.net/posts/files/81c048f2-24e3-41a2-acda-bb4c729c8a97.png" width="324" align="right" height="435" /></a> There’s some cases where <a href="https://docs.microsoft.com/en-us/windows/uwp/controls-and-patterns/semantic-zoom" target="_blank">SemanticZoom in an UWP</a> app provides a nice way of quickly navigating your app’s content. On the other hand SemanticZoom is something which can be hard for your app’s users to find so one should use it sparingly.</p><p>I’ve posted one sample app about SemanticZoom to GitHub. It’s a C# / MVVM app which shows how to combine GridView with SemanticZoom. To get the zoomed out view, you can use CTRL+Mousewheel:</p><p><a href="http://mikaelkoskinen.net/posts/files/ab28651c-24c6-4c32-8724-9f5f52dd2701.png"><img title="image" style="border-top:0;border-right:0;background-image:none;border-bottom:0;padding-top:0;padding-left:0;border-left:0;margin:0;display:inline;padding-right:0" border="0" alt="image" src="http://mikaelkoskinen.net/posts/files/4eeae9a0-d65d-4e04-90a5-3d3c89d67ed8.png" width="244" height="199" /></a></p><p><strong>Get the code from here:</strong></p><p><a title="https://github.com/mikoskinen/UWP-SemanticZoom-GridView" href="https://github.com/mikoskinen/UWP-SemanticZoom-GridView">https://github.com/mikoskinen/UWP-SemanticZoom-GridView</a></p><p>To learn more about SemanticZoom, you can <a href="https://docs.microsoft.com/en-us/windows/uwp/controls-and-patterns/semantic-zoom" target="_blank">visit Microsoft’s documentation.</a></p>