Jaa


ParallaxView.HorizontalShift Property

Definition

Represents the horizontal range of motion of the child element.

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

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

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

Property Value

Double

double

The horizontal range of motion. The default is 0.

Remarks

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

Applies to