Developing for Modern Windows

Tips, tricks, and guides for developing on modern Windows platforms

Windows 8

Use a Single Handler for Multiple Buttons

This quick tip is for beginners, and works for any version of Windows modern apps (though the code might differ slightly in previous versions – this code is specifically for Windows 10 UWP apps). In my early projects I found… Continue Reading →

Making Buttons with Style

The built-in Windows app XAML controls are great, but sometimes you need something more stylish. XAML styles to the rescue! Those two pink buttons have all the same properties, but one is the default style and the other is a custom style. They look completely… Continue Reading →

Colour Resources in Windows 8 and Windows Phone

It’s easy to create colour resources in Windows platforms within the XAML UI code. These resources can be used to ensure that the colour scheme of your app is consistent, such as using the exact same shade of blue throughout…. Continue Reading →

Encapsulate an isolated storage setting in a variable

This is a simple tip that works with both Windows Phone and Windows 8. Dealing with isolated storage settings can be a bit cumbersome. Wouldn’t it be easier if you could treat a stored setting or value like a regular… Continue Reading →