Skip to content

ShowMetroDialogAsync does not raise DialogManager.DialogOpened event #2396

@pfattisc

Description

@pfattisc

What steps will reproduce this issue?

Use current MahApps.MetroDemo.NET45 demo project.
In MainWindow code-behind:
Add an eventhandler for DialogManager.DialogOpened
Modify MainWindow.ShowAwaitCustomDialog as follows:

  • Remove the ShowMessageAsync call to avoid confusion...

Run project: Dialogs => await custom dialog => DialogOpened eventhandler is not called...

Expected outcome

Expected event DialogOpened to be raised.

Environment

  • MahApps.Metro v1.2.4 and latest source
  • Windows 7
  • Visual Studio 2013
  • .NET Framework 4.5

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions