Inheritance: Panel, IVirtualizingPanel, IVirtualizingPanelOverrides, IVirtualizingPanelProtected
 private void TryLoadMoreItems()
 {
     if (VirtualizingPanel.GetLayouter() is { } layouter)
     {
         TryLoadMoreItems(layouter.LastVisibleIndex);
     }
 }
Beispiel #2
0
 private void RemoveItems(int firstItem, int count, int section)
 {
     if (VirtualizingPanel != null)
     {
         VirtualizingPanel.GetLayouter().RemoveItems(firstItem, count, section);
     }
     else
     {
         Refresh();
     }
 }
Beispiel #3
0
        private protected override void Refresh()
        {
            base.Refresh();

            if (VirtualizingPanel != null)
            {
                VirtualizingPanel.GetLayouter().Refresh();

                InvalidateMeasure();
            }
        }