ParallaxView.IsVerticalShiftClamped 속성

정의

세로 시차 비율이 원본 스크롤 속도의 지정된 백분율로 고정되는지 여부를 나타내는 값을 가져오거나 설정합니다.

이 설명서는 UWP용 WinUI 2에 적용됩니다(Windows 앱 SDKWinUI의 경우 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

적용 대상