How to Set a Minimum Window Size in WinUI

WinUI doesn’t support window size limits by default, but you can easily add this feature yourself. ...

February 23, 2025

Switching Between Dark and Light Themes in a WinUI App

In this note, we will look at how to switch between light and dark themes in a WinUI app. ...

February 16, 2025

How to properly use .NET build-in dependency injection with WinUI apps

This post is based on Using .NET build-in dependency injection with WinUI apps and represents work on the mistakes made in the design of the approach described there. ...

February 9, 2025

ContentDialog and MVVM in WinUI

Let’s use ContentDialog in MVVM pattern style! ...

February 2, 2025

Mouse drag with Reactive Extensions

Let’s consider how to implement the ability to drag items with Rx.NET. ...

January 26, 2025

Place image pixels in a grid

Let’s draw a pixelated image separated by transparent lines in Win2D! ...

January 19, 2025

Win2D

Win2D provides the ability to use GPU-accelerated 2D graphics in WinUI 3 apps. ...

January 12, 2025

How to extract a specific image from the icon file. Pure C#

In this note we are considering the image extraction from ICO files in pure C# (without Win32 or any other dependencies). ...

January 5, 2025

How to extract a specific image from the icon file

In this note we are considering the image extraction from ICO files using the Win32 API. ...

December 29, 2024

How to compare the performance of different versions of the same library

In this note I’ll show how to use BenchmarkDotNet to compare the performance of different versions of the same library. ...

December 22, 2024