diff --git a/CrossPlatformModules.csproj b/CrossPlatformModules.csproj index a75cb6907..a9ef953d7 100644 --- a/CrossPlatformModules.csproj +++ b/CrossPlatformModules.csproj @@ -214,6 +214,9 @@ + + background.xml + @@ -241,6 +244,7 @@ image-source.d.ts + platform.d.ts @@ -454,6 +458,16 @@ wrap-layout.d.ts + + background.d.ts + + + background.d.ts + + + + background.d.ts + css-selector.d.ts @@ -646,7 +660,12 @@ - + + fonts-test.xml + + + background-test.xml + Designer @@ -655,7 +674,9 @@ + + @@ -683,6 +704,7 @@ + @@ -692,11 +714,13 @@ + + PreserveNewest @@ -1586,6 +1610,9 @@ PreserveNewest + + + @@ -1648,7 +1675,7 @@ False - + \ No newline at end of file diff --git a/apps/tests/pages/background-test.ts b/apps/tests/pages/background-test.ts new file mode 100644 index 000000000..d3fc95ba5 --- /dev/null +++ b/apps/tests/pages/background-test.ts @@ -0,0 +1,10 @@ +import view = require("ui/core/view"); +export function applyTap(args) { + var el = view.getViewById(view.getAncestor(args.object, "Page"), "test-element"); + (el).style = args.object.tag; +} + +export function resetTap(args) { + var el = view.getViewById(view.getAncestor(args.object, "Page"), "test-element"); + (el).style = ""; +} \ No newline at end of file diff --git a/apps/tests/pages/background-test.xml b/apps/tests/pages/background-test.xml new file mode 100644 index 000000000..5699dc180 --- /dev/null +++ b/apps/tests/pages/background-test.xml @@ -0,0 +1,37 @@ + + + + +