Hello there

I’m a software developer and this is my blog about everything that interests me (tech, programming for Windows and .NET). All opinions are my own.

Creating a WinUI-Style Tray Icon Context Menu

Let’s bring some variety to the system tray menu – create a WinUI-style popup! ...

March 30, 2025

Creating a Context Menu for Tray Icons in C# and WinUI

Today, we’ll explore how to add a native context menu to a tray icon. ...

March 23, 2025

Using NotifyIcon in WinUI 3

Learn how to use NotifyIcon in WinUI 3 apps without third-party libraries. ...

March 16, 2025

Prevent Screen Sleep in C# WinUI Apps

Let’s consider how to keep your screen awake in WinUI apps using simple C# code. ...

March 9, 2025

Single Instance Apps in WinUI 3 with C#

In this article, we’ll look at how to restrict your WinUI 3 app to a single instance using C#. ...

March 2, 2025

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