Share via


ParallaxView.Source Property

Definition

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

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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

void Source(UIElement value);
public UIElement Source { get; set; }
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