You have an old WPF application that you would like to modernize, making its UI more up-to-date and in-line with Windows 11 theming. There are some ways to do it, and the…
Tag: WPF
OpenFolderDialog in WPF
One feature that was missing in WPF was the OpenFolderDialog. To circumvent the lack of something to select a folder, there were some methods, but none of them were optimal: Use Windows…
Making your WPF app cross platform with Avalonia UI
One advantage of the new .NET Core (now .NET) apps is that they are cross platform. Once you create an app, the same code will run on Windows, Mac or Linux with…
Enumerating Displays in WPF with High DPI
Sometimes, we need to get our display disposition to position windows on them in specific places. The usual way to do it in .NET is to use the Screen class, with a…
No Code font tester in WPF
There are some times when we want to check all installed fonts in the system and test a phrase to check how does it show in the display at some size. There…
Using the new WebView2 in a WPF app
Times have changed and Microsoft is not the same: Edge, the new Microsoft browser has been remodeled and now it’s using the Chromium engine, an open source browser engine developed by Google….
Implementing the MVVM pattern in a WPF app with the MVVM Community toolkit
Introduction You have an old, legacy app (with no tests), and its age is starting to show – it’s using an old version of the .NET Framework, it’s difficult to maintain and…
Accessing Sharepoint data with C#
You need to create customized reports based on Sharepoint data and you don’t have the access to the server to create a new web part to access it directly. You need to…
Parsing HTML data with C#
Sometimes, you need to parse some html data to do some processing and present it to the user. That may be a daunting task, as some pages can become very complex and…
Comparing performance between WPF .NET and .NET Core
Some time ago I wrote a post about converting a WPF application into .NET Core. One thing that called my attention in this Build 2019 talk was that the performance for file…