MobileServiceCollection<T>
MobileServiceCollection<T>
MobileServiceCollection<T>
Class
Definition
An asynchronous data source that 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.
public class MobileServiceCollection<T> : Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<T,T>
type MobileServiceCollection<'T> = class
inherit MobileServiceCollection<'T, 'T>
Public Class MobileServiceCollection(Of T)
Inherits MobileServiceCollection(Of T, T)
Type Parameters
- T
Data source and collection element type.
- Inheritance
-
MobileServiceCollection<TTable,TCollection>MobileServiceCollection<TTable,TCollection>MobileServiceCollection<TTable,TCollection>MobileServiceCollection<T>MobileServiceCollection<T>MobileServiceCollection<T>
Remarks
This currently handles asynchronously loading the data, notifying the
controls and paging.
Constructors
MobileServiceCollection<T>(IMobileServiceTableQuery<T>, Int32) MobileServiceCollection<T>(IMobileServiceTableQuery<T>, Int32) MobileServiceCollection<T>(IMobileServiceTableQuery<T>, Int32) |
Initializes a new instance of the IncrementalLoadingMobileServiceCollection{T} class. |
Properties
HasMoreItems HasMoreItems HasMoreItems |
Gets a value indicating whether there are more items that can be loaded incrementally. (Inherited from MobileServiceCollection<TTable,TCollection>) |
NextLink NextLink NextLink |
Gets the link to next page of result that is returned in response headers. (Inherited from MobileServiceCollection<TTable,TCollection>) |
PageSize PageSize PageSize |
The page size specified in the constructor. (Inherited from MobileServiceCollection<TTable,TCollection>) |
TotalCount TotalCount TotalCount |
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>) |
Events
LoadingComplete LoadingComplete LoadingComplete |
Occurs when finished loading items. Provides LoadingCompleteEventArgs with how many items were loaded. (Inherited from MobileServiceCollection<TTable,TCollection>) |
LoadingItems LoadingItems LoadingItems |
Occurs when LoadMoreItemsAsync(Int32) starting to load items. (Inherited from MobileServiceCollection<TTable,TCollection>) |
Methods
Fields
selectorFunction selectorFunction selectorFunction |
A selector function which will be appied to the data when it comes back from the server. (Inherited from MobileServiceCollection<TTable,TCollection>) |
Extension Methods
ToCommaSeparatedString<T>(IEnumerable<T>) ToCommaSeparatedString<T>(IEnumerable<T>) ToCommaSeparatedString<T>(IEnumerable<T>) |
Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections. |