ParallaxView.MaxHorizontalShiftRatio Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.