Share via


ParallaxView.MaxVerticalShiftRatio Property

Definition

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

This documentation applies to WinUI 2 for UWP (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);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1.0")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1.0")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1.0")]
double MaxVerticalShiftRatio();

void MaxVerticalShiftRatio(double value);
public double MaxVerticalShiftRatio { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1.0")]
public double MaxVerticalShiftRatio { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1.0")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1.0")] set; }
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.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to