Three ways to set specific DeviceFamily XAML Views in UWP

The new Universal Windows Platform brings a new feature known as DeviceFamily specific views which allows developers to define specific XAML views for specific device families (Desktop, Mobile, Team, IoT etc.). This can be really useful if you want to have major differences in your UI for different device families. ... Read more »

Why is my zoomable ScrollViewer snapping the image to the left?

FlipView is an interesting control that can be easily used for scenarios such as image galleries. Other than flipping through a bunch of images, users normally expect to be able to zoom in and out, and we all now that zooming in and out is easiest to implement with a ... Read more »

Full screen mode in Windows 10 Universal apps

Windows 10 Universal apps can run both in full screen mode and windowed mode (window can be maximized/resized when not in full screen mode). This means that we have new APIs to use and set the mode programmatically. ApplicationView class is extended with new properties and methods which makes ... Read more »

How to use compiled bindings (x:Bind) from a resource dictionary

Compiled bindings (often just referred to as x:Bind) is a new type of binding mechanism in Windows 10 Universal Windows Platform (UWP) which does all the heavy lifting during compile time, instead of doing it during runtime via reflection, which improves performance significantly but also has some other benefits ... Read more »

Getting started with Cocos2d-x game development on Windows 10

Cocos2d-x is an open source game engine, licensed under MIT license, that allows developers to develop cross-platform games using C++ (or even JavaScript). iOS, Android, Desktop... no problem! However, for Windows Phone and Windows 8, and now Windows 10, Microsoft Open Technologies jumped in and contributed to the project to ... Read more »

Drag and drop photos into Windows 10 Universal apps

The new Windows 10 platform brings drag-and-drop functionality to Windows Universal apps for scenarios such as dragging a document or a photo from a folder straight into app. It allows us developers to support more intuitive experiences. Find out how simple it is to drag and drop a photo from ... Read more »

Using SQLite in Windows 10 Universal apps

Using SQLite in Windows 10 Universal apps is really easy even in this preview phase. Even though Entity Framework 7 support for Windows 10 Universal apps is almost here, you still might decide to just continue using a lighter SQLite.Net-PCL library that you're used to since Windows Phone 8/ ... Read more »

3 dangers of Windows RelativePanel

We got a great new layout panel in Windows 10 apps called RelativePanel. It's really easy to use, although as XAML developers, we're used to thinking about layout based on Grids and StackPanels and similar panels. RelativePanel requires a slightly different way of thinking about layout, but it simplifies adaptability ... Read more »

WinDays 15: Universal UI in Windows 10 Universal apps

This week I gave a presentation at the most important Microsoft event in Croatia (and possibly this region) about Windows 10 development, more accurately about news related to creating universal, adaptive UI in Windows 10 apps. This included 3 new concepts based on what we've seen in the first developer ... Read more »

MenuFlyout subitems in Windows 10 Universal apps

A very useful new feature has been added to MenuFlyouts in Windows 10 Universal apps: from now on, we can add subitems/submenus, which allows us to group items and open/show them as requested. When mouse is available, the submenu opens on mouse-over event, and when only touch is ... Read more »

Getting started with SplitView control in Universal apps

SplitView is a new, interesting control available in Windows 10 Universal apps and it is actually nothing more than a navigation affordance, as it's called in the Developer's Guide to Windows 10 Preview. It's also a very customizable control which doesn't really force any kind of style on you by ... Read more »

Composite primary keys in SQLite.Net

SQLite.Net-PCL is one of the best SQLite client/ORM out there in a PCL form supporting Windows Store and Universal apps. It's open source, but it's not feature complete, and you may learn the hard way that some things are missing. Being open source is a good thing, which ... Read more »

SQLite logic error or missing database - now what?

I've spent a few hours today trying to figure out why SQLite (and SQLite.Net-PCL) wasn't working in a Windows Phone 8 app, but the same code and same library worked in WPF app. If you're facing this exception when working with SQLite.Net-PCL, I hope this post will help ... Read more »

Output SQLite queries when using SQLite-net in Universal apps

When debugging code which works with databases, you'll often want to see the queries which are being executed to find possible bugs or simply understand how the database wrapper works. There's a simple way to do it if you use SQLite-net wrapper, but as it's not documented, you have to ... Read more »

Pass ListView SelectedItems to ViewModel in Universal apps

One of the things that WinRT devs need to work around in Universal apps is the fact that you can't bind straight to SelectedItems of a ListView/GridView. There are a few ways to pass SelectedItems to the ViewModel and here's one that can get the job done quickly. The ... Read more »