public virtual void FindNameWorksOnViewboxChild() { XamlBuilder xaml = new XamlBuilder <Viewbox>() { ExplicitNamespaces = new Dictionary <string, string> { { "controls", XamlBuilder.GetNamespace(typeof(Viewbox)) } }, Children = new List <XamlBuilder> { new XamlBuilder <TextBlock> { Name = "Foo", AttributeProperties = new Dictionary <string, string> { { "Text", "Test" } } } } }; Viewbox view = xaml.Load() as Viewbox; TextBlock text = null; TestAsync( view, () => text = view.FindName("Foo") as TextBlock, () => Assert.IsNotNull(text, "Failed to find named Child!")); }