using System; using NUnit.Framework; namespace Xamarin.Forms.Xaml.UnitTests { [TestFixture] public class Issue1564 { [Test] public void ViewCellAsXamlRoot () { var xaml = @" "; var cell = new ViewCell ().LoadFromXaml (xaml); Assert.NotNull (cell); Assert.AreEqual ("This is my label", ((cell.View as StackLayout).Children [0] as Label).Text); } } }