ParallaxView.MaxHorizontalShiftRatio Property

Definition

Clamps the horizontal 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 MaxHorizontalShiftRatio { double get(); void set(double value); };
double MaxHorizontalShiftRatio();

void MaxHorizontalShiftRatio(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 MaxHorizontalShiftRatio();

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

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to