But WinForms is immensely useful in building tools, and configuration utilities, and little one-off GUI things for various reasons. Anything that would take less time to slam together soup-to-nuts than just getting webpack working for a new project would take.
Just as example, companies that buy this kind of software,
Doing a 3D visualization for a LOB application? WPF can handle it.
Doing the same in UWP/WinUI? Ah the pour soul needs to go learn C++, C++/WinRT and DirectX then make use of SwapChainPanel, or trying to fit a third party .NET game engine into the application.
Then the team acts surprised that WPF has 3D capabilities when asked about this.
Apparently doing requirement analysis for what a replacement framework should cover wasn't part of the deal.