Search code examples
wpfmahapps.metro

Is there a way to show Mahapps message dialogs without background overlay?


I want to show messages in my Mahapps application without graying out the background.

I already tried to find a way with custom themes and custom accents. But no luck so far.


Solution

  • Set the OverlayBrush of the MetroWindow to Transparent:

    OverlayBrush = Brushes.Transparent;
    await this.ShowMessageAsync("This is the title", "Some message");