Esempio n. 1
0
		public void DataContextTest2 ()
		{
			ContentControl c = new ContentControl();
			TestPanel.Children.Add (c);
			c.DataContext = new Rectangle { Name = "Name" };
			Assert.IsNull (c.FindName ("Name"), "#1");
		}