ParallaxView.HorizontalSourceOffsetKind 属性

定义

获取或设置一个值,该值确定如何解释 ParallaxView 的水平源偏移值。

适用于 UWP 的等效 WinUI 2 API:Windows 应用 SDK中 WinUI 的 Microsoft.UI.Xaml.Controls.ParallaxView.HorizontalSourceOffsetKind (,请参阅Windows 应用 SDK命名空间) 。

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

void HorizontalSourceOffsetKind(ParallaxSourceOffsetKind value);
public ParallaxSourceOffsetKind HorizontalSourceOffsetKind { get; set; }
var parallaxSourceOffsetKind = parallaxView.horizontalSourceOffsetKind;
parallaxView.horizontalSourceOffsetKind = parallaxSourceOffsetKind;
Public Property HorizontalSourceOffsetKind As ParallaxSourceOffsetKind
<ParallaxView HorizontalSourceOffsetKind="parallaxSourceOffsetKindName" .../>

属性值

枚举的值,确定如何解释 ParallaxView 的水平源偏移值。

适用于