예제 #1
0
        internal override DataGridCollectionViewBase EnsureDataGridCollectionViewBaseCore()
        {
            DataGridVirtualizingQueryableCollectionViewSource parentSource = this.ParentSource as DataGridVirtualizingQueryableCollectionViewSource;

            if (!parentSource.IsInitialized)
            {
                return(null);
            }

            return(new DataGridVirtualizingQueryableCollectionView(
                       parentSource.QueryableSource,
                       parentSource.AutoCreateItemProperties,
                       parentSource.PageSize,
                       parentSource.MaxRealizedItemCount));
        }
예제 #2
0
 public DataGridVirtualizingQueryableCollectionViewDataProvider(DataGridVirtualizingQueryableCollectionViewSource parentSource)
     : base(parentSource)
 {
 }