Share via


ParallaxView.VerticalShift Property

Definition

Represents the vertical range of motion of the child element.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ParallaxView.VerticalShift (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property double VerticalShift { double get(); void set(double value); };
double VerticalShift();

void VerticalShift(double value);
public double VerticalShift { get; set; }
var double = parallaxView.verticalShift;
parallaxView.verticalShift = double;
Public Property VerticalShift As Double
<ParallaxView VerticalShift="double" .../>

Property Value

Double

double

The vertical range of motion. The default is 0.

Remarks

The default value of 0 means there is no vertical parallax motion. A value of 100 means the Child element is sized to 100px taller than the ParallaxView, so the range of the parallax motion is 100px.

Applies to