To Implement swipe down to close behavior, we should attach the behavior to a view.
In XAML
<ContentView x:Name="ViewToMove">
<ContentView.Behaviors>
<behavior:SwipeDownToClosePopupPage CloseAction="ClosePage" ParentView="{x:Reference ViewToMove}"/>
</ContentView.Behaviors>
</ContentView>