microsoft / WinUI-Gallery

This app demonstrates the controls available in WinUI and the Fluent Design System.
MIT License
2.65k stars 612 forks source link

AppWindow Presenter related samples #1552

Open HO-COOH opened 1 month ago

HO-COOH commented 1 month ago

Issue type

sample request

Which version of the app?

WinUI 3 Gallery

Description

I found different behaviors of OverlappedPresenter between Windows 10 and 11. I would like to see a complete sample about different settings on those.

Something like creating a new window (just like the current acrylic/mica window sample), with default presenter parameters in it. Adjusting those parameters would change the properties of the AppWindow.Presenter that it is currently on, like IsMaximizable, IsMinimizable, IsModal etc. I saw swapping Presenter is also supported, maybe add a comboBox for that as well.

Related issue: #1551

I would like to contribute if this is a good idea

Screenshots

No response

Windows version

No response

Additional context

No response

karkarl commented 2 weeks ago

Great idea, would this be part of multiple windows page?

HO-COOH commented 2 weeks ago

Great idea, would this be part of multiple windows page?

It's better as a standalone page, I think. It's more about AppWindow and AppWindowPresenter api.