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 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

Using Windows natural order sorting in C#

Windows Explorer sorts files with digits in a more natural way than build-in C# functions. It’s possible to use this sorting method in any app for Windows. ...

December 8, 2024