IncrementalLoadingCollection<TSource,IType> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class represents an ObservableCollection<T> whose items can be loaded incrementally.
public class IncrementalLoadingCollection<TSource,IType> : System.Collections.ObjectModel.ObservableCollection<IType>, Windows.UI.Xaml.Data.ISupportIncrementalLoading where TSource : IIncrementalSource<IType>
type IncrementalLoadingCollection<'Source, 'IType (requires 'Source :> IIncrementalSource<'IType>)> = class
inherit ObservableCollection<'IType>
interface ISupportIncrementalLoading
Public Class IncrementalLoadingCollection(Of TSource, IType)
Inherits ObservableCollection(Of IType)
Implements ISupportIncrementalLoading
- TSource
The data source that must be loaded incrementally.
- IType
The type of collection items.
- Inheritance
-
ObservableCollection<IType>IncrementalLoadingCollection<TSource,IType>
- Implements
-
Windows.
UI. Xaml. Data. ISupport Incremental Loading
Incremental |
Initializes a new instance of the IncrementalLoadingCollection<TSource,IType> class optionally specifying how many items to load for each data page. |
Incremental |
Initializes a new instance of the IncrementalLoadingCollection<TSource,IType> class using the specified IIncrementalSource<TSource> implementation and, optionally, how many items to load for each data page. |
Current |
Gets or sets a value indicating The zero-based index of the current items page. |
Has |
Gets a value indicating whether the collection contains more items to retrieve. |
Is |
Gets a value indicating whether new items are being loaded. |
Items |
Gets a value indicating how many items that must be retrieved for each incremental call. |
On |
Gets or sets an Action that is called when a retrieval operation ends. |
On |
Gets or sets an Action that is called if an error occurs during data retrieval. The actual Exception is passed as an argument. |
On |
Gets or sets an Action that is called when a retrieval operation begins. |
Source |
Gets a value indicating the source of incremental loading. |
Load |
Actually performs the incremental loading. |
Load |
Initializes incremental loading from the view. |
Refresh |
Clears the collection and triggers/forces a reload of the first page |
Produit | Versions |
---|---|
Windows Community Toolkit | 6.1.1, 7.0.0, 7.1.0 |
- IIncrementalSource<TSource>
- <xref:Windows.UI.Xaml.Data.ISupportIncrementalLoading>