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