Sample WPF/C# project to demonstrate detection of a snapped window (AeroSnap).
Added support to detect corner snap on Windows 10+.
Fixed multi-monitor issue when a snapped window is moved from one monitor to another.
- Window arranging: Enable or disable the simplified move and size behavior of a top-level windows when it is dragged or sized.
- Snap sizing: Enable or disable windows to be vertically maximized when it is sized to the top or bottom of the monitor. Window arranging must be checked to enable this behavior.
- Dock moving: Enable or disable window docking when it is moved to the top, left, or right docking targets on a monitor or monitor array. Window arranging must be checked to enable this behavior.
- Drag from maximize: Enable or disable maximized windows to be restored when its caption bar is dragged. Window arranging must be checked to enable this behavior.
Theses settings affect the snapping behavior for all windows (for testing/demonstration purposes only).
The MIT License (MIT)