Skip to content

Instantly share code, notes, and snippets.

View eNeRGy164's full-sized avatar
🕹️

Michaël Hompus eNeRGy164

🕹️
View GitHub Profile
private void PullDownToRefreshPanel_LayoutUpdated(object sender, EventArgs e)
{
if (this.targetScrollViewer == null)
{
this.targetScrollViewer = FindVisualElement<ScrollViewer>(VisualTreeHelper.GetParent(this));
if (this.targetScrollViewer != null)
{
this.LayoutUpdated -= PullDownToRefreshPanel_LayoutUpdated;
// *snip*