Share via


ParallaxView.Source Property

Definition

The element that either is or contains the ScrollViewer that controls the parallax operation.

public:
 property UIElement ^ Source { UIElement ^ get(); void set(UIElement ^ value); };
UIElement Source();

void Source(UIElement value);
public UIElement Source { get; set; }
var uIElement = parallaxView.source;
parallaxView.source = uIElement;
Public Property Source As UIElement
<ParallaxView Source="sourceElement" .../>

Property Value

Remarks

If the source element is not a ScrollViewer, the XAML tree is walked starting at the source element to find an embedded ScrollViewer.

Applies to