Kinnara / ModernWpf

Modern styles and controls for your WPF applications
MIT License
4.45k stars 446 forks source link

Place resize border outside of visible window #125

Open JVimes opened 4 years ago

JVimes commented 4 years ago

By default in WPF/WinForms/UWP/WinUI apps, the user clicks just outside of a window to resize it. This has advantages. I suggest ModernWpf follow the same convention.

I like that in ModernWpf the Window drop shadows match the system on Windows 10. I suggest not deviating from that, like MahApps and VisualStudio did to solve this issue (they use a glow effect).

Here's a demonstration of the issue, notice where the cursor changes with respect to the UWP window:

2020-06-26_22h11_46

Kinnara commented 4 years ago

Thanks for the suggestion, The current behavior is a side effect of using the WindowChrome class. I'll look to see if there's a way around it.