(X) Hide this
    • Login
    • Join
      • Say No Bots Generate New Image
        By clicking 'Register' you accept the terms of use .

Behavior to show a MessageBox from a ViewModel

(0 votes)
0 comments   /   posted by Silverlight Show on Feb 23, 2012
Tags:   data-binding , mvvm , windows-phone , joost-van-schaik

Read original post by Joost van Schaik at .NET by Example

Since I am a very lazy programmer and I not always want to register or define services and whatnot for showing a simple message I created this extremely simple behavior for showing a MessageBox from a ViewModel. I wrote the code for Windows Phone 7, but I suppose it could be used in Silverlight as well.


Comments

No comments

Add Comment

Login to comment:
  *      *       

Our News on Twitter