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); } }
private void panelPosts_ScrollPositionChanged(object sender, MyVirtualizingPanel2.ScrollPositionChangedEventAgrs e) { }
private void conversationsListBox_ScrollPositionChanged(object sender, MyVirtualizingPanel2.ScrollPositionChangedEventAgrs e) { }