public ParallaxPage() { InitializeComponent(); _parallax = new Parallax(); _parallax.AddLayer(Box1, 1, UpdateBox); _parallax.AddLayer(Box2, 1.25, UpdateBox); _parallax.AddLayer(Box3, 1.5, UpdateBox); _parallax.AddLayer(Box4, 1.75, UpdateBox); _parallax.AddLayer(Box5, 2, UpdateBox); }