private void sampleList_SelectionChanged(object sender, SelectionChangedEventArgs e)
		{
			if (e.AddedItems != null && e.AddedItems.Count > 0)
			{
				var t = e.AddedItems[0] as Type;
				var c = t.GetConstructor(new Type[] { });
				var sampleinstance = c.Invoke(new object[] { }) as UserControl;
				sampleView.Children.Clear();
				try
				{
					var ctrl = new ControlExceptionHandler() { Content = sampleinstance };
                    sampleView.Children.Add(ctrl);
				}
				catch (System.Exception ex)
				{
				}
			}
		}
 private void sampleList_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (e.AddedItems != null && e.AddedItems.Count > 0)
     {
         var t = e.AddedItems[0] as Type;
         var c = t.GetConstructor(new Type[] { });
         var sampleinstance = c.Invoke(new object[] { }) as UserControl;
         sampleView.Children.Clear();
         try
         {
             var ctrl = new ControlExceptionHandler()
             {
                 Content = sampleinstance
             };
             sampleView.Children.Add(ctrl);
         }
         catch (System.Exception ex)
         {
         }
     }
 }