using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using MarkOn.Infrastructure;
using System.ComponentModel.Composition;
using MarkOn_Content.Interfaces;
using Microsoft.Practices.Prism.Regions;
using Microsoft.Practices.Prism.Events;
using SimpleMefApplication.Infrastructure;
using MarkOn_Content.ViewModels;

namespace MarkOn_Content.Views
{
	[ViewExport(RegionName = "ContentRegion")]
	[PartCreationPolicy(CreationPolicy.NonShared)]
	public partial class ContentView : UserControl
	{
		public ContentView()
		{
			InitializeComponent();
		}

		//public ContentView(ContentViewModel VM)
		//    : this()
		//{
		//    this.DataContext = VM;
		//    MessageBox.Show("하이");
		//}


		[Import]
		public IContentViewModel ViewModel
		{
			set { this.DataContext = value; }
		}
	}
}
