Silverlight MessageBox

Silverlight oddly enough lacks a MessageBox class. Fortunately Silverlight's HTML Bridge exposes the JavaScript Alert method, which is functionally the same thing.

The above dialog is actually initiated by Silverlight using the following code:

using System.Windows.Browser;
//...
HtmlPage.Window.Alert("Hello from Silverlight");