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

Async Content Dialog is not always blocked #2806

Closed
Dirkster99 opened this issue Jan 16, 2017 · 1 comment
Closed

Async Content Dialog is not always blocked #2806

Dirkster99 opened this issue Jan 16, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@Dirkster99
Copy link

I was able to complete my MsgBox service with the same API as in my previous modal dialog version (Link), except the new one is build with the design from MahApps.Metro: Link.

I have found a minor issue in this process which is that you can use key down or ALT Key to have the focus wander off into the menu or the Window control buttons (close, maximize, minimize). This can be best verified if you open a dialog that has no default focus element, such as, the Progress Dialog.

The ALT Problem can be verified in any dialog, though.

My solution for this fix is to add a new dependency property called: IsContentDialogVisible.

This property is to true when there is one or more dialogs open.
This dependency property is used to:

I am wondering if there is a better solution to these problems. But I am also happy with my current solution. So, I thought it might be useful input for this project as well.

@punker76 punker76 self-assigned this Jan 16, 2017
@Dirkster99
Copy link
Author

I have deleted the linked repo above since it was just another development version. The repo to use now is called MLib since thats the name of the framework I've created based on your work:
https://github.com/Dirkster99/MLib

I also tried to summarize relevant information in this article here:
https://www.codeproject.com/Articles/1170500/A-ContentDialog-in-a-WPF-Desktop-Application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants