This project is read-only.

Project Description
Simple and easy to use messageboxes for WPF and Silverlight.

This project is forked from SilverlightMsgbox project, and includes all of its features + new features:

+ Added features:

  • MVVM supported
  • Supporting long messages
  • Ease of use
  • Localization support
  • Autosized message dialog depending on message length.
  • Autosized buttons.
  • Both WPF and Silverlight supported

Easy to use:

Just add the reference and write the following line (Works in both WPF and Silverlight):

Messages.InfoMessage("Hello there!");

And if you want to notify about message events:

Messages.ConfirmMessage("Are you sure?",
(s, args) =>
    if (args.DialogResult == true)
        // do something

MVVM is supported using MVVM Light Toolkit:

Messenger.Default.Send(new MvvmMessageBox("Salute from MVVM"));

And if you need events:

Messenger.Default.Send(new MvvmMessageBox("Are you sure?", MvvmMessageBoxType.Confirm,
(s, args) =>
    if (args.DialogResult == true)
        // do something


Messages.Resources.FlowDirection = FlowDirection.RightToLeft;
Messages.Resources.CancelButtonText = "انصراف";
Messages.Resources.OkButtonText = "تایید";
Messages.Resources.YesButtonText= "بـلی";
Messages.Resources.NoButtonText= "خیر";
Messages.Resources.MessageDefaultTitle = "آزمایش پیغام";


Silverlight ScreenShots, WPF ScreenShots

Silverlight Samples:

WPF Samples:

Last edited Jul 16, 2011 at 7:34 PM by salar2k, version 7