Compartilhar via


ParallaxView.HorizontalSourceOffsetKind Propriedade

Definição

Obtém ou define um valor que determina como os valores de deslocamento de origem horizontal de um ParallaxView são interpretados.

public:
 property ParallaxSourceOffsetKind HorizontalSourceOffsetKind { 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 HorizontalSourceOffsetKind();

void HorizontalSourceOffsetKind(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 HorizontalSourceOffsetKind();

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

Valor da propriedade

Um valor da enumeração que determina como os valores de deslocamento de origem horizontal de um ParallaxView são interpretados.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Aplica-se a