Share via


ParallaxView.IsVerticalShiftClamped プロパティ

定義

垂直方向の視差率をソーススクロール速度の指定されたパーセンテージにクランプするかどうかを示す値を取得または設定します。

public:
 property bool IsVerticalShiftClamped { bool get(); void set(bool value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool IsVerticalShiftClamped();

void IsVerticalShiftClamped(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool IsVerticalShiftClamped();

void IsVerticalShiftClamped(bool value);
public bool IsVerticalShiftClamped { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
public bool IsVerticalShiftClamped { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
var boolean = parallaxView.isVerticalShiftClamped;
parallaxView.isVerticalShiftClamped = boolean;
Public Property IsVerticalShiftClamped As Boolean
<ParallaxView IsVerticalShiftClamped="bool" .../>

プロパティ値

Boolean

bool

視差率がソーススクロール速度の指定されたパーセンテージにクランプされている場合は true。それ以外の場合は false。 既定値は trueです。

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用対象