XAML Back to Basics #13: DataTemplateSelector
How to display items in an ItemsControl using different templates
XAML Islands Getting Started Guide – Adding UWP Controls to Windows Forms or WPF Application
One of the reasons that Microsoft failed to get wide spread adoption of the Universal Windows Platform (UWP) is that there is already a massive investment into Windows Forms (WinForms) and Windows Presentation Foundation (WPF) applications. In this post we’re going to walk through how you can use XAML Islands to host UWP controls within an existing WinForms or WPF application.
XAML Back to Basics #11: Multiple Linked Lists
How to synchronize ListBoxes displaying three levels of hierarchical data
Fix: WinUI Preview 2 with Visual Studio 2019 Error Creating Project
If you’ve recently upgraded to the latest Visual Studio preview (Preview 2 of VS 16.8) then you may run into issues if you attempt to create a new WinUI for Desktop project. You’ll see a prompt similar to the following and only the packaging project will get created. The full text from the error is … Read more
Thinking Out Loud: Mvvm Navigation for XAML Frameworks such as Xamarin.Forms, UWP/WinUI, WPF and Uno
One of the things that’s often given me pause for thought is the approach we take to navigation within applications. For the purpose of this post I’m going limit the scope to just XAML based applications (XF/Maui, UWP/WinUI/Uno, WPF). In all of these application platforms there is a built in capability to navigate between pages. … Read more
XAML Basics for WPF, UWP, Uno and WinUI
This is an index post for a series of blog posts covering some XAML basics. The original content came from a series of posts that Beatriz Stollnitz made on WPF/Silverlight that had been moved to a github repository. Unfortunately most of the samples don’t work out of the box with the latest version of Visual Studio … Read more
XAML Back to Basics #6: SelectedValue v SelectedItem
What is the difference between SelectedValue and SelectedItem?
XAML Back to Basics #4: ComboBox Binding
How to bind the items of a ComboBox (and get its ComboBoxItems
Xbox UWP – Unable to Activate Windows Store App – Error 0x8004090a
Building and deploying UWP apps on Xbox is frustrating – every time I come back to it I get caught out by things that should just work. The one that always seems to get me is that you have to be signed in on the Xbox. This used to not be a problem because Visual … Read more
17 Years as a Microsoft MVP
Earlier this month I was, was awarded Microsoft MVP for the 17th year and I wanted to take this opportunity to reflect on this. Firstly a note of appreciation to all the Microsoft staff both from the MVP program, the various product teams and of course the Australian sub. Overall an amazing set of people … Read more