Esempio n. 1
0
            public void TestRootName(bool useCompiledXaml)
            {
                var page = new FindByName(useCompiledXaml);

                Assert.AreSame(page, ((Forms.Internals.INameScope)page).FindByName("root"));
                Assert.AreSame(page, page.FindByName <FindByName> ("root"));
            }
Esempio n. 2
0
            public void TestName(bool useCompiledXaml)
            {
                var page = new FindByName(useCompiledXaml);

                Assert.AreSame(page.label0, page.FindByName <Label> ("label0"));
            }
Esempio n. 3
0
			public void TestName (bool useCompiledXaml)
			{
				var page = new FindByName (useCompiledXaml);
				Assert.AreSame (page.label0, page.FindByName<Label> ("label0"));
			}
Esempio n. 4
0
			public void TestRootName (bool useCompiledXaml)
			{
				var page = new FindByName (useCompiledXaml);
				Assert.AreSame (page, ((Forms.Internals.INameScope)page).FindByName ("root"));
				Assert.AreSame (page, page.FindByName<FindByName> ("root"));
			}