Right now I have a normal window with a bunch of controls.
When the user hits a certain button I want to dim the entire window and then display a popup on top of it. Not a true dialog box, just something that is inside the window.
So this is my theory...
Is this possible?
The Window Controls Overlay API gives Progressive Web Apps installed on desktop operating systems the ability to hide the default window title bar and display their own content over the full surface area of the app window, turning the control buttons (maximize, minimize, and close) into an overlay.
Right on the top-left corner of the Edge window and select the “Show title bar” option to show the title bar. This will make the Edge browser show the title bar when using Vertical Tabs.
This is perfectly possible.
Put your entire UI in any panel inside of a <Grid>
.
Then, in the same grid, put a <Rectangle Opacity=".5" Visibility="Collapsed" />
for the overlay and a centered panel for the popup.
Handle the rectangle's click event and hide the popup.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With