共用方式為


ParallaxView.VerticalSourceOffsetKind 屬性

定義

取得或設定值,決定如何解譯 ParallaxView 的垂直來源位移值。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

public:
 property ParallaxSourceOffsetKind VerticalSourceOffsetKind { ParallaxSourceOffsetKind get(); void set(ParallaxSourceOffsetKind value); };
ParallaxSourceOffsetKind VerticalSourceOffsetKind();

void VerticalSourceOffsetKind(ParallaxSourceOffsetKind value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ParallaxSourceOffsetKind::Relative")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ParallaxSourceOffsetKind::Relative")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ParallaxSourceOffsetKind::Relative")]
ParallaxSourceOffsetKind VerticalSourceOffsetKind();

void VerticalSourceOffsetKind(ParallaxSourceOffsetKind value);
public ParallaxSourceOffsetKind VerticalSourceOffsetKind { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ParallaxSourceOffsetKind::Relative")]
public ParallaxSourceOffsetKind VerticalSourceOffsetKind { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ParallaxSourceOffsetKind::Relative")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ParallaxSourceOffsetKind::Relative")] set; }
Public Property VerticalSourceOffsetKind As ParallaxSourceOffsetKind
<ParallaxView VerticalSourceOffsetKind="parallaxSourceOffsetKindName" .../>

屬性值

列舉值,決定如何解譯 ParallaxView 的垂直來源位移值。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於