WinUI-Gallery
WinUI-Gallery copied to clipboard
Showcasing the Use of `OverlappedPresenter.IsModal` for Improved User Experience
Issue type
sample request
Which version of the app?
WinUI 3 Gallery
Description
This proposal suggests adding an example to the WinUI3 Gallery showcasing the IsModal
property of the OverlappedPresenter
class. This property allows developers to create modal windows within the same application, improving the user experience for specific scenarios.
A lot of developers try to solve issues by turning off the Content.IsTapEnabled
setting in another window, or by using the ContentDialog
control as a substitute. However, these methods may not be the best practices and can come with several limitations:
-
Using
Content.IsTapEnabled
: This can limit the app's interactivity. -
Using
ContentDialog
: This control is designed for simpler tasks and not to function like a window. It may lack the flexibility and customization options that a window provides.
Therefore, it would be beneficial to add an example to the WinUI 3 Gallery that showcases how to use the OverlappedPresenter.IsModal
property in the windowing part. This could be a great feature to add, as it allows a window to behave as a modal dialog, blocking input to other windows, which can be useful in creating more interactive and user-friendly applications.
Screenshots
No response
Windows version
No response
Additional context
No response