Yes, UWP was depreciated back in 2021. Currently you have three options:
the Windows App SDK (WinUI 3). This is very similar to UWP. The most windows only platform. as this is port of WPF -> UWP -> WinUI 3, the architecture is a little dated. But with cross platform being the current focus, I don't see a redesign.
https://learn.microsoft.com/en-us/windows/apps/winui/winui3/
Maui cross platform. A port of Xamarin and Xamarin Forms, you can build mobile and Windows desktop apps. Currently Windows is not the best supported platform. The UI development is probably the weakest part. Its design is old compared to SwiftUI and Jetpack. and being cross platform it lowest common denominator. Hopefully the future holds a redesign of the UI layer.
https://dotnet.microsoft.com/en-us/learn/maui
Blazor Hybrid. This is like electron for c#. You write an app using html, browser events and c#. the architecture is similar to react.
https://learn.microsoft.com/en-us/aspnet/core/blazor/hybrid/?view=aspnetcore-8.0