ParallaxView.IsVerticalShiftClamped 属性     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指示垂直视差比率是否固定到源滚动速度的指定百分比。
本文档适用于 Windows 应用 SDK 中 WinUI 的 WinUI 2 for UWP (,请参阅Windows 应用 SDK命名空间) 。
public:
 property bool IsVerticalShiftClamped { bool get(); void set(bool value); };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 { get; 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; }Public Property IsVerticalShiftClamped As Boolean<ParallaxView IsVerticalShiftClamped="bool" .../>
属性值
		
		Boolean
	bool
如果视差比率固定到源滚动速度的指定百分比,则为 true;否则为 false。 默认值为 true。
- 属性
- 
			Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute