Every Windows 8 apps needs a background parallax effect like on the Windows 8 startscreen. Your Windows 8 app is not complete without it.
John Michael Hauck created a really easy solution to create this effect in your app. With a simple converter:
The Parallax effect in the Q42.WinRT library builds upon this code, but I created a parameter for the "factor" constant. This way, you can play with the speed of the parallax. You can even have multiple parallax background effects which can all have different speeds! That must be an interesting app.
How to use the background parallax?
First add this to the top of your page:
Create a resource for the converter:
<q42converters:ParallaxConverter x:Key="Parallax" />
Use the converter on an image:
HorizontalAlignment="Left" VerticalAlignment="Bottom" Stretch="None" >
TranslateX=", ConverterParameter=-0.10}" />
The ConverterParameter=-0.10 is optional. The default value is -0.10.
MainScrollViewer is the element name of the scrollviewer of your page.
Download the sample app for the Q42.WinRT toolkit to see the Background Parallax in action: