Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Showcasing the Use of OverlappedPresenter.IsModal for Improved User Experience #1551

Open
Zakariathr22 opened this issue May 23, 2024 · 0 comments
Labels
enhancement Expand an existing sample or add feature to app help wanted Extra attention is needed

Comments

@Zakariathr22
Copy link

Zakariathr22 commented May 23, 2024

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

@karkarl karkarl added help wanted Extra attention is needed enhancement Expand an existing sample or add feature to app and removed needs-triage labels Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Expand an existing sample or add feature to app help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants