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")); }
public void TestName(bool useCompiledXaml) { var page = new FindByName(useCompiledXaml); Assert.AreSame(page.label0, page.FindByName <Label> ("label0")); }
public void TestName (bool useCompiledXaml) { var page = new FindByName (useCompiledXaml); Assert.AreSame (page.label0, page.FindByName<Label> ("label0")); }
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")); }