The DataTemplateSelector could be a cool tool for changing out which DataTemplate is used to display an element within a list. I started using it for a media feature to figure out whether an element’s thumbnail should display as image, sound, or video. The Usual Typically, this process involves creating a DataTemplateSelector class like this:…

The Image control used in XAML does not really seem like a big deal. Place it in your XAML and bind the Source Property to your Data. Might look something like this: <Image Source={Binding MyPath} /> However, there’s a case I came across that had me scratching my head today for a significant period of time. I…

F12 does not really work in Visual Studio when using it on a XAML file. That includes ResourceDictionaries. Came across this article from Microsoft that covers the list of brushes, colors, fonts, etc that they make available for use.

Yea, that’s a long title to the article. However, the information in this article is super useful when you have to cross the same bridge because there is no clear way to debug. Here’s what’s going on. I am making a UWP app in Visual Studio. I want to split out some of my code from…

So many methodologies on how to program. Things were so simple 20-30 years ago. Single file programs. Then turning into multiple files, procedural. Then OOP. Then Winforms. Then MFC. Then .NET and all the C# goodness. Then WPF. And now MVVM. There’s pluses and minuses to advancement in technology. On some occasions, I feel that…

With UWP, I’m finding myself overriding the control templates of existing controls. Creating these control templates from scratch is not even on the table as a realistic possibility. So, coders typically use debug code to print out a control template, load a control in Blend, or what I’m now using: https://msdn.microsoft.com/en-us/library/windows/apps/mt299122.aspx Back in WPF, I do…

Microsoft has made the switch from old-school image icons to font icons that web technologies like Font Awesome and Glyphicons have been offering for years. There is a set of fonts that Microsoft has included with all Windows 10 operating systems. But the font that has most of the icons is Segoe MDL2 Assets. Here,…

I’m working on an UWP app and love the idea of SplitView. However, useful documentation is few and far between. Although I am currently nixing use of SplitView for my current project (UX choice), I want to note the best the web has to offer on the subject. A lap around the SplitView Control Guidelines for…