Example #1
0
 private void panelFeedback_ScrollPositionChanged(object sender, MyVirtualizingPanel2.ScrollPositionChangedEventAgrs e)
 {
     if (e.ScrollHeight == 0.0 || e.ScrollHeight - e.CurrentPosition >= VKConstants.LoadMoreNewsThreshold)
     {
         return;
     }
     this.FeedbackVM.LoadFeedback(false);
 }
 private void panel_ScrollPositionChanged(object sender, MyVirtualizingPanel2.ScrollPositionChangedEventAgrs e)
 {
     if (this.GroupDiscussionVM.LoadFromEnd)
     {
         if (e.ScrollHeight == 0.0 || e.CurrentPosition >= 100.0)
         {
             return;
         }
         this.GroupDiscussionVM.LoadData(false, (Action <bool>)null);
     }
     else
     {
         if (e.ScrollHeight == 0.0 || e.ScrollHeight - e.CurrentPosition >= VKConstants.LoadMoreNewsThreshold)
         {
             return;
         }
         this.GroupDiscussionVM.LoadData(false, (Action <bool>)null);
     }
 }
Example #3
0
 private void panelPosts_ScrollPositionChanged(object sender, MyVirtualizingPanel2.ScrollPositionChangedEventAgrs e)
 {
 }
Example #4
0
 private void conversationsListBox_ScrollPositionChanged(object sender, MyVirtualizingPanel2.ScrollPositionChangedEventAgrs e)
 {
 }