Add support for Windows 11 "Snap Layout" to the custom title bar (WindowChrome)
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
As Windows 11 introduce **Snap Layout** when we hover on Restore/Maximize caption button, I want to have this feature on my custom title bar using `WindowChrome`.
The current `SystemCommands` class does not have it:
```cs
public static class SystemCommands
{
public static void CloseWindow(Window window);
public static void MaximizeWindow(Window window);
public static void MinimizeWindow(Window window);
public static void RestoreWindow(Window window);
public static void ShowSystemMenu(Window window, Point screenLocation);
}
```
### Custom Title bar

### Default Title bar

Contributor guide
Assessment
This issue has not been assessed yet.