Developing for Modern Windows

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

Posts Tagged: 8.1

Quick Tip: Run-on TextBlock in XAML (Universal Apps)

When you want to bind some data to a textblock, you do so like this: <TextBlock Text="{Binding MyTextProperty}"/>   And, having set MyTextProperty in my data model to “hello world”, I get this: But what if you want to format… Continue Reading →

Tip: Access Resources in a Universal App’s Shared Project

When accessing shared resources via XAML in a universal Windows app, you must specify their location. You normally reference resources by folder name: <ResourceDictionary Source="/MyUniversaldResourceDictionary.xaml"/> <TextBlock FontFamily="/Assets/Fonts/elegant_ink.ttf#Elegant Ink" /> In a universal app when you reference resources in the universal project from the other… Continue Reading →

Control the Windows Phone 8.1 WinRT Back Button

Note: this technique is for Windows Phone 8.1 WinRT apps only. Please see this post for previous versions of Windows Phone (including Windows Phone 8.1 Silverlight apps). Note: This post was updated in 21/07/2015 with some extra code from Juan… Continue Reading →

Control the Windows Phone Back Button (Windows Phone Silverlight 7 / 8 / 8.1)

How to intercept the default Back button behaviour in Windows Phone Silverlight apps.