ParallaxView.HorizontalShift Eigenschaft

Definition

Stellt den horizontalen Bewegungsbereich des untergeordneten Elements dar.

Entsprechende WinUI 2-API für UWP: Microsoft.UI.Xaml.Controls.ParallaxView.HorizontalShift (informationen zu WinUI in der Windows App SDK finden Sie im 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" .../>

Eigenschaftswert

Double

double

Der horizontale Bewegungsbereich. Die Standardeinstellung ist 0.

Hinweise

Der Standardwert 0 bedeutet, dass keine horizontale Parallaxenbewegung vorhanden ist. Ein Wert von 100 bedeutet, dass das Child-Element 100px breiter als parallaxView ist, sodass der Bereich der Parallaxbewegung 100px beträgt.

Gilt für: