Udostępnij za pośrednictwem


ParallaxView.MaxHorizontalShiftRatio Property

Definition

Clamps the horizontal parallax ratio to the specified percentage of the source scroll velocity.

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

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

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

Property Value

Double

double

The maximum percentage of the source scroll velocity. The default is 1.0.

Applies to