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

Introduce an API for showing a Metro MessageDialog in a MetroWindow #764

Merged
merged 10 commits into from
Nov 2, 2013

Conversation

AzureKitsune
Copy link
Member

A combination of ideas from both #550 and #657. I created a function on MetroWindow that allows you to asynchronously show a metro-style MessageBox/Dialog IN that MetroWindow.

Todo list:

  • Basic functionality
  • Localization friendly
  • Tabbing support

Screenshots

md2

Code

You can use the new MessageDialog by calling this:

///this = a MetroWindow
this.ShowMessageAsync("title","message");

Other stuff

Apart of #744
Fixes #696

@AzureKitsune AzureKitsune mentioned this pull request Nov 2, 2013
20 tasks
@spiritdead
Copy link
Contributor

@Amrykid remember for use the tasks in framework 4, the person need the nuggets specific for this file!

@AzureKitsune
Copy link
Member Author

You only need the nuget file if you want the "await" keyword in .NET 4. The demo is using the API without it.

AzureKitsune added a commit that referenced this pull request Nov 2, 2013
Introduce an API for showing a Metro MessageDialog in a MetroWindow
@AzureKitsune AzureKitsune merged commit 54ae395 into MahApps:master Nov 2, 2013
@AzureKitsune AzureKitsune deleted the messagebox branch November 2, 2013 19:54
@AzureKitsune AzureKitsune mentioned this pull request Nov 12, 2013
9 tasks
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.

2 participants