Click here to Skip to main content
15,886,565 members
Articles / Programming Languages / C# 4.0

Silverlight View Model Communication

Rate me:
Please Sign up or sign in to vote.
4.89/5 (14 votes)
25 Sep 2010MIT2 min read 76K   960   39  
An example of Silverlight View Model communication between Master and Child View Models
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace ViewModelCommunication
{
	/// <summary>
	/// Interaction logic for ChildVM.xaml
	/// </summary>
	public partial class ChildVM : UserControl
	{
		public ChildVM()
		{
			this.InitializeComponent();
			
			// Insert code required on object creation below this point.
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Software Developer (Senior) http://ADefWebserver.com
United States United States
Michael Washington is a Microsoft MVP. He is a ASP.NET and
C# programmer.
He is the founder of
AiHelpWebsite.com,
LightSwitchHelpWebsite.com, and
HoloLensHelpWebsite.com.

He has a son, Zachary and resides in Los Angeles with his wife Valerie.

He is the Author of:

Comments and Discussions