Add support for Windows 11 "Snap Layout" to the custom title bar (WindowChrome)
See original GitHub issueAs 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:
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
Issue Analytics
- State:
- Created 2 years ago
- Reactions:25
- Comments:45 (18 by maintainers)
Top Results From Across the Web
How to support for Windows 11 "Snap Layout ...
This is the solution that I came up with in XAML only. Instead of having a Border that holds the content of the...
Read more >Support snap layouts for desktop apps on Windows 11
Snap layouts are easily accessible by hovering the mouse over a window's maximize button or pressing Win + Z.
Read more >How to create custom Snap layouts on Windows 11, 10
Create custom snap layouts on Windows 11 · Open PowerToys. · Click on FancyZones. · Turn on the Enable FancyZones toggle switch (if...
Read more >Customized title bar is not supporting window 11 split ...
The main window of your application has the maximize caption button available but does not show snap layouts, it may be because you've ......
Read more >Window Chrome - Actipro WPF Controls Docs
Snap layout menu support on Windows 11 or later; Optionally extend the window content itself, or just the background, to render in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey folks, Just letting you know that we are still working on this issue internally and will have a response for you soon. We appreciate your patience.
@kalin-todorov - Apologies for the delayed response. Unfortunately, we don’t have the snap UI support for custom titlebar, yet.
However, we’re planning to incorporate this feature in upcoming releases.