コード例 #1
0
 private void ItemsLVRefreshRequested(object sender, EventArgs e)
 {
     try
     {
         FollowRequestsVM.RunLoadMore(true);
     }
     catch { }
 }
コード例 #2
0
 private void FollowRequestsViewLoaded(object sender, RoutedEventArgs e)
 {
     try
     {
         RefreshControl.RefreshRequested -= RefreshControlRefreshRequested;
         RefreshControl.Visualizer.RefreshStateChanged -= RefreshControlRefreshStateChanged;
     }
     catch { }
     RefreshControl.RefreshRequested += RefreshControlRefreshRequested;
     if (RefreshControl.Visualizer != null)
     {
         RefreshControl.Visualizer.RefreshStateChanged += RefreshControlRefreshStateChanged;
     }
     if (!IsLoadedBefore)
     {
         IsLoadedBefore = true;
         FollowRequestsVM.RunLoadMore(true);
     }
 }
コード例 #3
0
 private void RefreshControlRefreshRequested(Microsoft.UI.Xaml.Controls.RefreshContainer sender, Microsoft.UI.Xaml.Controls.RefreshRequestedEventArgs args)
 {
     using (var RefreshCompletionDeferral = args.GetDeferral())
         FollowRequestsVM.RunLoadMore(true);
 }