Exemple #1
0
            public void NoConflictsBetweenSharedRDs(bool useCompiledXaml)
            {
                var layout = new TestSharedResourceDictionary(useCompiledXaml);

                Assert.AreEqual(Color.Pink, layout.label.TextColor);
                Assert.AreEqual(Color.Purple, layout.label2.TextColor);
            }
			public void ImplicitStyleCanBeSharedFromSharedRD (bool useCompiledXaml)
			{
				var layout = new TestSharedResourceDictionary(useCompiledXaml);
				Assert.AreEqual(Color.Red, layout.implicitLabel.TextColor);
			}
			public void NoConflictsBetweenSharedRDs (bool useCompiledXaml)
			{
				var layout = new TestSharedResourceDictionary (useCompiledXaml);
				Assert.AreEqual (Color.Pink, layout.label.TextColor);
				Assert.AreEqual (Color.Purple, layout.label2.TextColor);
			}
			public void MergedResourcesAreFound (bool useCompiledXaml)
			{
				var layout = new TestSharedResourceDictionary (useCompiledXaml);
				Assert.AreEqual (Color.Pink, layout.label.TextColor);
			}
Exemple #5
0
            public void MergedRDAtAppLevel(bool useCompiledXaml)
            {
                var layout = new TestSharedResourceDictionary(useCompiledXaml);

                Assert.AreEqual("Foo", layout.label3.Text);
            }
Exemple #6
0
            public void ImplicitStyleCanBeSharedFromSharedRD(bool useCompiledXaml)
            {
                var layout = new TestSharedResourceDictionary(useCompiledXaml);

                Assert.AreEqual(Color.Red, layout.implicitLabel.TextColor);
            }
Exemple #7
0
            public void MergedResourcesAreFound(bool useCompiledXaml)
            {
                var layout = new TestSharedResourceDictionary(useCompiledXaml);

                Assert.AreEqual(Color.Pink, layout.label.TextColor);
            }