Пример #1
0
        public MainWindow()
        {
            InitializeComponent();

            AddCustomers(GenerateCustomers(0).Take(10).ToArray());

            m_prefetchingCollectionView = new PrefetchingCollectionView(10, m_customers);
            m_prefetchingCollectionView.PrefetchRequest += prefetchingCollectionView_PrefetchRequest;
            Items.ItemsSource = m_prefetchingCollectionView;
        }
Пример #2
0
        public MainWindow()
        {
            InitializeComponent();

            AddCustomers(GenerateCustomers(0).Take(10).ToArray());

            m_prefetchingCollectionView = new PrefetchingCollectionView(10, m_customers);
            m_prefetchingCollectionView.PrefetchRequest += prefetchingCollectionView_PrefetchRequest;
            Items.ItemsSource = m_prefetchingCollectionView;
        }