Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mahapps Metro: Show non-modal auto-closing message dialog at the bottom of the window

Is it possible in Mahapps Metro to show a standard message dialog at the bottom of the MetroWindow just like the Github for Windows app does? I want to notify the user about exceptions, but without the need to close this dialog before he/she continues using the app.

Until now I use the following code to open the message dialog, but this is a blocking way and it appears at the center of the MetroWindow:

await this.ShowMessageAsync("My title", "My error message");

I want to create a Github for Windows like dialog. You can see a screenshot here:

screenshot

In Github for Windows you can undo any operation, but this message only appears some seconds and than auto-hides.

like image 916
Mirko Avatar asked Oct 07 '14 13:10

Mirko


1 Answers

What you're looking for isn't a dialog, but the Flyout control with the Position property set to Bottom.

Also see this discussion on the GitHub repository: https://github.com/MahApps/MahApps.Metro/issues/1352

like image 81
Flagbug Avatar answered Oct 19 '22 19:10

Flagbug