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