Share via


ParallaxView.VerticalSourceOffsetKind Property

Definition

Gets or sets a value that determines how the vertical source offset values of a ParallaxView are interpreted.

public:
 property ParallaxSourceOffsetKind VerticalSourceOffsetKind { ParallaxSourceOffsetKind get(); void set(ParallaxSourceOffsetKind value); };
/// [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);
/// [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 { [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")]
public ParallaxSourceOffsetKind VerticalSourceOffsetKind { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ParallaxSourceOffsetKind::Relative")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ParallaxSourceOffsetKind::Relative")] set; }
var parallaxSourceOffsetKind = parallaxView.verticalSourceOffsetKind;
parallaxView.verticalSourceOffsetKind = parallaxSourceOffsetKind;
Public Property VerticalSourceOffsetKind As ParallaxSourceOffsetKind
<ParallaxView VerticalSourceOffsetKind="parallaxSourceOffsetKindName" .../>

Property Value

A value of the enumeration that determines how the vertical source offset values of a ParallaxView are interpreted.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to