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

support for multiple dialogs (fixes #1974) #2009

Merged
merged 5 commits into from
Jun 30, 2015

Conversation

thoemmi
Copy link
Collaborator

@thoemmi thoemmi commented Jun 28, 2015

This PR adds support for multiple dialogs at once as requested in #1974. There can only be one active dialog, and there's no support for switching between dialogs. It's like a stack of dialogs.

I hope the changes are self-explanatory.

However, there's one breaking change: previously the MetroWindow's template contained a part named PART_MetroDialogContainer, now there are two parts named PART_MetroActiveDialogContainer and PART_MetroInactiveDialogsContainer. When someone has created his own style for MetroWindow it will break.

@punker76
Copy link
Member

@thoemmi i'm fine with this (little breaking) changes (maybe i must update my SimpleChildWindow). but you forgot the CleanWindowstyle ;-)

@punker76 punker76 added this to the 1.2.0 milestone Jun 29, 2015
@thoemmi
Copy link
Collaborator Author

thoemmi commented Jun 29, 2015

Shame on me 😳 I'll fix it.

@punker76
Copy link
Member

👍

punker76 added a commit that referenced this pull request Jun 30, 2015
support for multiple dialogs (fixes #1974)
@punker76 punker76 merged commit 500d535 into MahApps:master Jun 30, 2015
@IsNull
Copy link
Contributor

IsNull commented Jun 30, 2015

Much appreciated enhancement 👍

@thoemmi thoemmi deleted the multiple-dialogs branch June 30, 2015 07:02
@thoemmi
Copy link
Collaborator Author

thoemmi commented Jun 30, 2015

Motivated by selfishness ^^

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

Successfully merging this pull request may close these issues.

3 participants