コード例 #1
0
			public void CorrectlyResolveBPOnSubClasses (bool useCompiledXaml)
			{
				var layout = new BPNotResolvedOnSubClass (useCompiledXaml);
				var style = (Style)layout.Resources["Xamarin.Forms.Button"];
				Assert.NotNull (style);

				var button = new Button ();
				button.Style = style;

				Assert.AreEqual (Color.FromHex ("#dddddd"), button.GetValue (ShadowColorProperty));
			}