See all tags.

Articles tagged “wpf”

How to localize text with a binding in WPF
published on Jan 30, 2021

Recently, I faced a following dilemma: I was binding a TextBlock to a string property of a class instance, and when that instance was null, I wanted to show a placeholder that had to be localizable. Here is what I learned.

Localizing a WPF app running on .NET Core 3 in 2020
published on Jun 24, 2020

I have recently updated my hobby desktop app, Bewitched, from .NET 4.6 to .NET Core 3.1. The process was mostly painless as I was late to the game and most Nugets were already updated for .NET Core 3 / Netstandard support. I lost no functionality - except the ability to localize the UI. Here's what I did to get it back.