using System; using NUnit.Framework; namespace Xamarin.Forms.Xaml.UnitTests { [TestFixture] public class Issue1641 { [Test] public void StaticResourceInTableView () { var xaml = @" Hello there! "; var page = new ContentPage ().LoadFromXaml (xaml); var table = page.Content as TableView; Assert.AreEqual ("Hello there!", page.Resources ["caption"] as string); Assert.AreEqual ("Hello there!", (table.Root [0] [0] as TextCell).Text); } } }