ParallaxView.Source Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.