Udostępnij za pośrednictwem


ParallaxView.MaxVerticalShiftRatio Property

Definition

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

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

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to