MahApps / MahApps.Metro

A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
https://mahapps.com
MIT License
9.31k stars 2.45k forks source link

Right-/LeftWindowCommandsOverlayBehavior option Always missing #3754

Closed KrabatTilt closed 4 years ago

KrabatTilt commented 4 years ago

I updated to latest alpha and Flyouts now overlay(hide) the Left- and RightWindowCommads content. I get an xaml error telling me that the option RightWindowCommandsOverlayBehavior="Always" is not available any more. Is it intended that the ability of Left- and RightWindowCommads to overlay flyouts is now missing. Or is there a new way to achieve the previous behavior?

Environment

punker76 commented 4 years ago

@KrabatTilt Yes, this was changed in this PR #3511 , because of this change #3503 to the WindowCommands. (take also a look to this )

The default for the left and right window commands behavior is set to WindowCommandsOverlayBehavior.Never. So if you set ShowTitleBar to false they will not shown and will now also not shown over flyouts. They only visible if you set this to WindowCommandsOverlayBehavior.HiddenTitleBar.