A few things: First try and run without the Visual Studio debugger attached. You should see much better performance.
Secondly, if you're using WPF, try UWP instead and compare it. WPF isn't a very good performer when it comes to DirectX 11 integration. UWP resolves that with proper UI composition and can much easier get to 60 frames per second, which WPF really struggles with.