Prevent Screen Sleep in C# WinUI Apps
Let’s consider how to keep your screen awake in WinUI apps using simple C# code. ...
Let’s consider how to keep your screen awake in WinUI apps using simple C# code. ...
In this article, we’ll look at how to restrict your WinUI 3 app to a single instance using C#. ...
WinUI doesn’t support window size limits by default, but you can easily add this feature yourself. ...
In this note, we will look at how to switch between light and dark themes in a WinUI app. ...
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. ...
Let’s use ContentDialog in MVVM pattern style! ...
Sometimes even simple things can be confusing. Especially if you don’t encounter them every day. The funniest thing is if you’ve already solved this problem and successfully forgot about it after some time. ...
.NET has build-in dependency injection (DI). It’s used primarily for ASP.NET Core apps, but there’s no reason not to use it with WinUI apps too. ...