MobileServiceIncrementalLoadingCollection<T> Class

 

An asynchronous data source that implements ISupportIncrementalLoading and can wrap the results of a Mobile Services query in a way that's easily consumed by Xaml collection controls like ListView, GridView or ListBox.

Namespace:   Microsoft.WindowsAzure.MobileServices
Assembly:  Microsoft.WindowsAzure.Mobile.Ext (in Microsoft.WindowsAzure.Mobile.Ext.dll)


public class MobileServiceIncrementalLoadingCollection<T> : MobileServiceIncrementalLoadingCollection<T, T>

Type Parameters

T

Data source and collection element type.

NameDescription
System_CAPS_pubmethodMobileServiceIncrementalLoadingCollection<T>(IMobileServiceTableQuery<T>)

Initializes a new instance of the T:IncrementalLoadingMobileServiceCollection{T} class.

NameDescription
System_CAPS_pubpropertyCount

(Inherited from Collection<T>.)

System_CAPS_pubpropertyHasMoreItems

Gets a value indicating whether there are more items that can be loaded incrementally.(Inherited from MobileServiceCollection<TTable, TCollection>.)

System_CAPS_pubpropertyItem[Int32]

(Inherited from Collection<T>.)

System_CAPS_protpropertyItems

(Inherited from Collection<T>.)

System_CAPS_pubpropertyPageSize

The page size specified in the constructor.(Inherited from MobileServiceCollection<TTable, TCollection>.)

System_CAPS_protpropertyThrowExceptionsFromLoading

Indicates if the exceptions from loading more data should be thrown or not.(Inherited from MobileServiceIncrementalLoadingCollection<TTable, TCollection>.)

System_CAPS_pubpropertyTotalCount

Gets the total count for all the records that would have been returned ignoring any take paging/limit clause specified by client or server.(Inherited from MobileServiceCollection<TTable, TCollection>.)

NameDescription
System_CAPS_pubmethodAdd(T)

(Inherited from Collection<T>.)

System_CAPS_protmethodBlockReentrancy()

(Inherited from ObservableCollection<T>.)

System_CAPS_protmethodCheckReentrancy()

(Inherited from ObservableCollection<T>.)

System_CAPS_pubmethodClear()

(Inherited from Collection<T>.)

System_CAPS_protmethodClearItems()

(Inherited from ObservableCollection<T>.)

System_CAPS_pubmethodContains(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethodCopyTo(T[], Int32)

(Inherited from Collection<T>.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

(Inherited from Collection<T>.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethodInsert(Int32, T)

(Inherited from Collection<T>.)

System_CAPS_protmethodInsertItem(Int32, T)

(Inherited from ObservableCollection<T>.)

System_CAPS_pubmethodLoadMoreItemsAsync(CancellationToken, Int32)

Load more items asynchronously. Controls which support incremental loading on such as GridView on Windows 8 call this method automatically. In other cases you should call this method yourself.(Inherited from MobileServiceCollection<TTable, TCollection>.)

System_CAPS_pubmethodLoadMoreItemsAsync(Int32)

Load more items asynchronously. Controls which support incremental loading on such as GridView on Windows 8 call this method automatically. In other cases you should call this method yourself.(Inherited from MobileServiceCollection<TTable, TCollection>.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodMove(Int32, Int32)

(Inherited from ObservableCollection<T>.)

System_CAPS_protmethodMoveItem(Int32, Int32)

(Inherited from ObservableCollection<T>.)

System_CAPS_protmethodOnCollectionChanged(NotifyCollectionChangedEventArgs)

(Inherited from ObservableCollection<T>.)

System_CAPS_protmethodOnExceptionOccurred(Exception)

Provided to allow users to handle exceptions resulting from calls to LoadMoreItemsAsync performed by controls.(Inherited from MobileServiceIncrementalLoadingCollection<TTable, TCollection>.)

System_CAPS_protmethodOnPropertyChanged(PropertyChangedEventArgs)

(Inherited from ObservableCollection<T>.)

System_CAPS_protmethodOnPropertyChanged(String)

Invokes the PropertyChanged event for the propertyName property. Provides a way for subclasses to override the event invocation behavior.(Inherited from MobileServiceCollection<TTable, TCollection>.)

System_CAPS_pubmethodPrepareDataForCollection(IEnumerable<TTable>)

Transforms the data from the query into data for the collection using the provided selector function.(Inherited from MobileServiceCollection<TTable, TCollection>.)

System_CAPS_pubmethodPrepareDataForCollection(IEnumerable<TTable>)

Transforms the data from the query into data for the collection using the provided selector function.(Inherited from MobileServiceCollection<TTable, TCollection>.)

System_CAPS_protmethodProcessQueryAsync(CancellationToken, IMobileServiceTableQuery<TTable>)

Evaluates the query and adds the result to the collection.(Inherited from MobileServiceCollection<TTable, TCollection>.)

System_CAPS_pubmethodRemove(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethodRemoveAt(Int32)

(Inherited from Collection<T>.)

System_CAPS_protmethodRemoveItem(Int32)

(Inherited from ObservableCollection<T>.)

System_CAPS_protmethodSetItem(Int32, T)

(Inherited from ObservableCollection<T>.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_protfieldselectorFunction

A selector function which will be appied to the data when it comes back from the server.(Inherited from MobileServiceCollection<TTable, TCollection>.)

Handles asynchronously loading the data, notifying the controls and paging.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: