مشاركة عبر


ParallaxView.MaxVerticalShiftRatio Property

Definition

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

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

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

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

Property Value

Double

double

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

Applies to