Click or drag to resize
QueryableDataServiceCollectionViewTEntity Class
Represents a view for accessing and manipulating strongly-typed data provided by a DataServiceContext.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.DataQueryableCollectionView
    Telerik.Windows.Controls.DataServicesQueryableDataServiceCollectionViewBase
      Telerik.Windows.DataQueryableDataServiceCollectionViewTEntity

Namespace: Telerik.Windows.Data
Assemblies:  Telerik.Windows.Controls.DataServices (in Telerik.Windows.Controls.DataServices.dll) Version: 2017.2.614.40 (2017.2.614.40)
  Telerik.Windows.Controls.DataServices50 (in Telerik.Windows.Controls.DataServices50.dll) Version: 2017.2.614.40 (2017.2.614.40)
  Telerik.Windows.Controls.DataServices60 (in Telerik.Windows.Controls.DataServices60.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class QueryableDataServiceCollectionView<TEntity> : QueryableDataServiceCollectionViewBase, 
	IEnumerable<TEntity>, IEnumerable
where TEntity : class, INotifyPropertyChanged

Type Parameters

TEntity
The type of the entity.

The QueryableDataServiceCollectionViewTEntity type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAddNew
Adds a new item to the collection.
(Inherited from QueryableCollectionView.)
Public methodAddNew(Object)
Adds the new item to the collection.
(Inherited from QueryableCollectionView.)
Public methodAddNewItem
Adds the specified object to the collection.
(Inherited from QueryableCollectionView.)
Protected methodApplySelectDescriptors
Applies s over the specified queryable.
(Inherited from QueryableCollectionView.)
Public methodCancelEdit
Ends the edit transaction and discards any pending changes to the item.
(Inherited from QueryableCollectionView.)
Public methodCancelLoad
Cancels the current data loading operation, if any.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public methodCancelNew
Ends the add transaction and discards the pending new item.
(Inherited from QueryableCollectionView.)
Public methodCancelSubmit
Cancels the current submit operation if any.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public methodCommitEdit
Ends the edit transaction and saves the pending changes.
(Inherited from QueryableCollectionView.)
Public methodCommitNew
Ends the add transaction and saves the pending new item.
(Inherited from QueryableCollectionView.)
Protected methodCompletePageMove
Completes the page move.
(Inherited from QueryableDataServiceCollectionViewBase.)
Protected methodConstructNewItem
Constructs a new item.
(Inherited from QueryableCollectionView.)
Public methodContains
Returns a value that indicates whether a given item belongs to this collection view.
(Inherited from QueryableCollectionView.)
Protected methodCreateInternalList
Called when internal list needs to be created.
(Overrides QueryableCollectionViewCreateInternalList.)
Protected methodCreateView
Returns IQueryable with applied filtering, sorting, grouping and paging.
(Overrides QueryableCollectionViewCreateView.)
Public methodDeferRefresh
Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh.
(Inherited from QueryableCollectionView.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from QueryableCollectionView.)
Protected methodDispose(Boolean)
Unsubscribes form collection changed events.
(Inherited from QueryableCollectionView.)
Public methodEditItem
Begins an edit transaction of the specified item.
(Inherited from QueryableCollectionView.)
Protected methodGetEffectiveItemCount
Gets the count of items depending on the page and/or grouped state.
(Overrides QueryableCollectionViewGetEffectiveItemCount.)
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from QueryableCollectionView.)
Protected methodGetInternalList
Called when internal list is required.
(Inherited from QueryableCollectionView.)
Public methodGetItemAt
Retrieves the item at the specified zero-based index in the view.
(Inherited from QueryableCollectionView.)
Protected methodGetPagingDeterminativeItemCount
Gets the paging determinative item count.
(Inherited from QueryableCollectionView.)
Public methodIndexOf
Returns the zero-based index at which the specified item is located.
(Inherited from QueryableCollectionView.)
Protected methodInitializeCurrencyOnRefresh
Initializes the currency on refresh.
(Inherited from QueryableCollectionView.)
Protected methodInitializeCurrentItem
Called when the current item should be initialized.
(Inherited from QueryableCollectionView.)
Protected methodInitializeInternalList
Called when internal list should be initialized.
(Inherited from QueryableCollectionView.)
Protected methodInvalidatePagingAndRefresh
Invalidates the paging and refreshes the view.
(Inherited from QueryableCollectionView.)
Protected methodInvalidatePagingDeterminativeItemCount
Invalidates the paging determinative item count.
(Inherited from QueryableCollectionView.)
Public methodLoad
Initiates a Load operation if possible.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public methodLoad(Boolean)
Initiates a Load operation if possible.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public methodMoveCurrentTo
Sets the specified item to be the CurrentItem in the view.
(Inherited from QueryableCollectionView.)
Public methodMoveCurrentToFirst
Sets the first item in the view as the CurrentItem.
(Inherited from QueryableCollectionView.)
Public methodMoveCurrentToLast
Sets the last item in the view as the CurrentItem.
(Inherited from QueryableCollectionView.)
Public methodMoveCurrentToNext
Sets the item after the CurrentItem in the view as the CurrentItem.
(Inherited from QueryableCollectionView.)
Public methodMoveCurrentToPosition
Sets the item at the specified index to be the CurrentItem in the view.
(Inherited from QueryableCollectionView.)
Public methodMoveCurrentToPrevious
Sets the item before the CurrentItem in the view as the CurrentItem.
(Inherited from QueryableCollectionView.)
Public methodMoveToFirstPage
Sets the first page as the current page.
(Inherited from QueryableCollectionView.)
Public methodMoveToLastPage
Sets the last page as the current page.
(Inherited from QueryableCollectionView.)
Public methodMoveToNextPage
Moves to the page after the current page.
(Inherited from QueryableCollectionView.)
Public methodMoveToPage
Requests a page move to the page at the specified index.
(Inherited from QueryableCollectionView.)
Protected methodMoveToPageCore
Requests a page move to the page at the specified index.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public methodMoveToPreviousPage
Moves to the page before the current page.
(Inherited from QueryableCollectionView.)
Protected methodOnCollectionChanged
Raises the CollectionChanged event.
(Inherited from QueryableCollectionView.)
Protected methodOnCurrentChanged
Raises the CurrentChanged event.
(Inherited from QueryableCollectionView.)
Protected methodOnCurrentChanging
Raise a non-cancelable CurrentChanging event This is called when CurrentItem is affected by a CollectionChange (Remove or Refresh).
(Inherited from QueryableCollectionView.)
Protected methodOnCurrentChanging(CurrentChangingEventArgs)
Raises the CurrentChanging event.
(Inherited from QueryableCollectionView.)
Protected methodOnFilterDescriptorsChanged
Called when anything in the filter descriptors changes.
(Inherited from QueryableCollectionView.)
Protected methodOnFilterDescriptorsCollectionChanged
Invoked when the FilterDescriptors collection changes.
(Overrides QueryableCollectionViewOnFilterDescriptorsCollectionChanged(Object, NotifyCollectionChangedEventArgs).)
Protected methodOnFilterDescriptorsItemChanged
Invoked when the FilterDescriptors item changes.
(Overrides QueryableCollectionViewOnFilterDescriptorsItemChanged(Object, ItemChangedEventArgsIFilterDescriptor).)
Protected methodOnFilterDescriptorsLogicalOperatorChanged
Invoked when the FilterDescriptors logical operator changes.
(Overrides QueryableCollectionViewOnFilterDescriptorsLogicalOperatorChanged.)
Protected methodOnGroupDescriptorsCollectionChanged
Invoked when the roupDescriptors collection changes.
(Overrides QueryableCollectionViewOnGroupDescriptorsCollectionChanged(Object, NotifyCollectionChangedEventArgs).)
Protected methodOnGroupDescriptorsItemChanged
Invoked when the GroupDescriptors item changes.
(Overrides QueryableCollectionViewOnGroupDescriptorsItemChanged(Object, ItemChangedEventArgsIGroupDescriptor).)
Protected methodOnInternalListCreated
Called when internal list is created.
(Inherited from QueryableCollectionView.)
Protected methodOnLoadedData
Raises the [E:LoadedData] event.
(Inherited from QueryableDataServiceCollectionViewBase.)
Protected methodOnLoadingData
Raises the [E:LoadingData] event.
(Inherited from QueryableDataServiceCollectionViewBase.)
Protected methodOnPropertyChanged(PropertyChangedEventArgs)
Raises the PropertyChanged event.
(Inherited from QueryableDataServiceCollectionViewBase.)
Protected methodOnPropertyChanged(String)
Raises the PropertyChanged event.
(Inherited from QueryableCollectionView.)
Protected methodOnRefresh
Invoked when the instance should be refreshed.
(Inherited from QueryableDataServiceCollectionViewBase.)
Protected methodOnSortDescriptorsCollectionChanged
Invoked when the SortDescriptors collection changes.
(Overrides QueryableCollectionViewOnSortDescriptorsCollectionChanged(Object, NotifyCollectionChangedEventArgs).)
Protected methodOnSortDescriptorsItemChanged
Invoked when the SortDescriptors item changes.
(Overrides QueryableCollectionViewOnSortDescriptorsItemChanged(Object, ItemChangedEventArgsISortDescriptor).)
Protected methodOnSubmittedChanges
Raises SubmittedChanges event.
(Inherited from QueryableDataServiceCollectionViewBase.)
Protected methodOnSubmittingChanges
Raises SubmittingChanges event.
(Inherited from QueryableDataServiceCollectionViewBase.)
Protected methodPopulateInternalList
Called when internal list should be populated.
(Inherited from QueryableCollectionView.)
Protected methodRaisePageChanged
Raises the PageChanged event.
(Inherited from QueryableCollectionView.)
Public methodRefresh
Recreates the view.
(Inherited from QueryableCollectionView.)
Protected methodRefreshGroupsOnItemAction
Refreshes the groups according to the item and the respective action.
(Inherited from QueryableCollectionView.)
Protected methodRefreshOnItemAction
Refreshes the view according to the item and the respective action.
(Inherited from QueryableCollectionView.)
Protected methodRefreshOnItemActionWithoutPaging
Refreshes the view according to the item and the respective action when there is no paging involved.
(Inherited from QueryableCollectionView.)
Protected methodRefreshOverride
Re-create the view over the associated IList.
(Inherited from QueryableCollectionView.)
Protected methodRefreshOverrideCore
Re-create the view over the associated IList.
(Inherited from QueryableCollectionView.)
Public methodRejectChanges
Rejects all changes.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public methodRemove
Removes the specified item from the collection.
(Inherited from QueryableCollectionView.)
Public methodRemoveAt
Removes the item at the specified position from the collection.
(Inherited from QueryableCollectionView.)
Protected methodSetCurrent
Sets the CurrentItem and CurrentPosition.
(Inherited from QueryableCollectionView.)
Protected methodSetCurrentPosition
Sets the CurrentPosition to the given newPosition .
(Inherited from QueryableCollectionView.)
Protected methodSetInternalList
Called when internal list should be set.
(Inherited from QueryableCollectionView.)
Protected methodSort
Sorts the specified queryable.
(Inherited from QueryableCollectionView.)
Public methodSubmitChanges
Initiates a Submit operation if possible.
(Inherited from QueryableDataServiceCollectionViewBase.)
Protected methodUpdateItemCount
Called when the count of the items should be updated.
(Inherited from QueryableCollectionView.)
Protected methodUpdateTotalItemCount
Called when the count of all items should be updated.
(Overrides QueryableCollectionViewUpdateTotalItemCount.)
Top
Extension Methods
  NameDescription
Public Extension MethodAppendTEntity(IEnumerableTEntity)Overloaded.
Appends elements from two sequences.
(Defined by CollectionExtensions.)
Public Extension MethodAppendTEntity(TEntity)Overloaded.
Appends an element to a sequence.
(Defined by CollectionExtensions.)
Public Extension MethodAppendTEntity(IEnumerableTEntity)Overloaded. (Defined by EnumerableExtensions.)
Public Extension MethodAppendTEntity(TEntity)Overloaded. (Defined by EnumerableExtensions.)
Public Extension MethodCloneTEntity
Clones the list.
(Defined by CommonExtensions.)
Public Extension MethodContainsAnyTEntity
Checks for the occurrence of the given items in the collection.
(Defined by CommonExtensions.)
Public Extension MethodForEachTEntity
Executes the action for each item in the collection.
(Defined by CommonExtensions.)
Public Extension MethodTakeAfterTEntity
Bypasses elements from a sequence as long as a specified condition is true and then returns the remaining elements.
(Defined by CollectionExtensions.)
Public Extension MethodTakeBeforeTEntity
Bypasses elements from a sequence until the specified condition becomes true.
(Defined by CollectionExtensions.)
Public Extension MethodTakeBetweenTEntity(FuncTEntity, Boolean, FuncTEntity, Boolean)Overloaded.
Bypasses elements from a sequence as long as the first condition is false. Returns elements from the remaining elements as long the second condition is false.
(Defined by CollectionExtensions.)
Public Extension MethodTakeBetweenTEntity(TEntity, TEntity)Overloaded.
Returns elements from a sequence as long as they are between the two items.
(Defined by CollectionExtensions.)
Public Extension MethodTakeFromTEntity(FuncTEntity, Boolean)Overloaded.
Bypasses elements from a sequence as long as a specified condition is false and then returns the element that satisfies the condition and the elements after.
(Defined by CollectionExtensions.)
Public Extension MethodTakeFromTEntity(TEntity)Overloaded.
Bypasses elements from a sequence as long as the element is not equal to the items in the sequence.
(Defined by CollectionExtensions.)
Public Extension MethodTakeToTEntity(FuncTEntity, Boolean)Overloaded.
Returns elements from a sequence as long as a specified condition is false. This method also returns the first element that satisfies the condition.
(Defined by CollectionExtensions.)
Public Extension MethodTakeToTEntity(TEntity)Overloaded.
Returns elements from a sequence as long as the sequence elements differs from the item.
(Defined by CollectionExtensions.)
Top
Properties
  NameDescription
Public propertyAutoLoad
Gets or sets a value indicating whether Load is automatically invoked when a change occurs that impacts the query.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public propertyCanAddNew
Gets a value that indicates whether a new item can be added to the collection.
(Inherited from QueryableCollectionView.)
Public propertyCanAddNewItem
Gets a value that indicates whether a specified object can be added to the collection.
(Inherited from QueryableCollectionView.)
Public propertyCanCancelEdit
Gets a value that indicates whether the editing of an item can be canceled.
(Inherited from QueryableCollectionView.)
Public propertyCanChangePage
Completes move to page operation. Raises PageChanged event and refreshes the data view.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public propertyCanFilter
Gets a value that indicates whether this view supports filtering via the FilterDescriptors property.
(Inherited from QueryableCollectionView.)
Public propertyCanGroup
Gets a value that indicates whether this view supports grouping via the GroupDescriptors property.
(Inherited from QueryableCollectionView.)
Public propertyCanLoad
Gets a value indicating whether a load operation could be performed based on the present state.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public propertyCanRemove
Gets a value that indicates whether an item can be removed from the collection.
(Inherited from QueryableCollectionView.)
Public propertyCanSort
Gets a value that indicates whether this view supports sorting via the SortDescriptors property.
(Inherited from QueryableCollectionView.)
Public propertyCount
Gets the number of records in the view after grouping, filtering, sorting, and paging.
(Inherited from QueryableCollectionView.)
Public propertyCulture
Gets or sets the cultural info for any operations of the view that may differ by culture, such as sorting.
(Inherited from QueryableCollectionView.)
Public propertyCurrentAddItem
Gets the item that is being added during the current add transaction.
(Inherited from QueryableCollectionView.)
Public propertyCurrentEditItem
Gets the item in the collection that is being edited.
(Inherited from QueryableCollectionView.)
Public propertyCurrentItem
Gets the current item in the view.
(Inherited from QueryableCollectionView.)
Public propertyCurrentPosition
Gets the ordinal position of the CurrentItem within the view.
(Inherited from QueryableCollectionView.)
Public propertyDataServiceContext
Gets or sets the DataServiceContext instance used for executing the load and submit operations.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public propertyDataServiceQuery
Gets the data service query.
Public propertyExpand
Gets or sets the expand option.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public propertyFilter
Gets or sets a callback used to determine if an item is suitable for inclusion in the view.
(Inherited from QueryableCollectionView.)
Public propertyFilterDescriptors
Gets the filter descriptors used for filtering operations.
(Inherited from QueryableCollectionView.)
Protected propertyGroupDescriptions
Gets the underlying GroupDescriptions collection.
(Inherited from QueryableCollectionView.)
Public propertyGroupDescriptors
Gets the group descriptors used for grouping operations.
(Inherited from QueryableCollectionView.)
Public propertyGroups
Gets the top-level groups.
(Inherited from QueryableCollectionView.)
Public propertyHasChanges
Gets a value indicating whether this collection has changes.
(Inherited from QueryableDataServiceCollectionViewBase.)
Protected propertyInternalCount
Protected accessor to private count.
(Inherited from QueryableCollectionView.)
Protected propertyInternalList
Gets the list created from resulting query after applying filtering, sorting, grouping and paging.
(Inherited from QueryableCollectionView.)
Public propertyIsAddingNew
Gets a value that indicates whether an add transaction is in progress.
(Inherited from QueryableCollectionView.)
Public propertyIsBusy
Gets a value indicating whether this collection is loading or submitting data.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public propertyIsCurrentAfterLast
Gets a value that indicates whether the CurrentItem of the view is beyond the end of the collection.
(Inherited from QueryableCollectionView.)
Public propertyIsCurrentBeforeFirst
Gets a value that indicates whether the CurrentItem of the view is beyond the beginning of the collection.
(Inherited from QueryableCollectionView.)
Public propertyIsEditingItem
Gets a value that indicates whether an edit transaction is in progress.
(Inherited from QueryableCollectionView.)
Public propertyIsEmpty
Returns a value that indicates whether the resulting view is empty.
(Inherited from QueryableCollectionView.)
Public propertyIsGrouped
Gets a value indicating whether this instance is grouped.
(Inherited from QueryableCollectionView.)
Public propertyIsLoading
Gets a value that indicates whether this collection is currently performing a Load operation.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public propertyIsPageChanging
Gets a value that indicates whether a page index change is in process.
(Inherited from QueryableCollectionView.)
Protected propertyIsPaged
Gets a value indicating whether this instance has pages or not.
(Inherited from QueryableCollectionView.)
Public propertyIsSubmittingChanges
Gets a value indicating whether the collection is currently performing a Submit operation.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public propertyItem
This indexer is not supposed to be used directly from your code.
(Inherited from QueryableCollectionView.)
Public propertyItemCount
Gets the minimum number of items known to be in the source collection.
(Inherited from QueryableCollectionView.)
Public propertyItemProperties
Gets a collection of objects that describes the properties of the items in the collection.
(Inherited from QueryableCollectionView.)
Public propertyItemPropertiesByPropertyName
Gets a dictionary of objects that describes the properties of the items in the collection by property name.
(Inherited from QueryableCollectionView.)
Public propertyItemType
Gets or sets the type used for all internal data engine operations.
(Inherited from QueryableCollectionView.)
Public propertyNeedsRefresh
Gets a value that indicates whether this view needs to be refreshed.
(Inherited from QueryableCollectionView.)
Public propertyNewItemPlaceholderPosition
Gets or sets the position of the new item placeholder in the collection.
(Inherited from QueryableCollectionView.)
Public propertyPageIndex
Gets the zero-based index of the current page.
(Inherited from QueryableCollectionView.)
Public propertyPageSize
Gets or sets the number of items to display on a page.
(Inherited from QueryableCollectionView.)
Protected propertyPendingCurrencyRefresh
Used to hold "old" currency info when DataLoadMode is Asynchronous and we need to refresh the currency after the load is complete. This field is not supposed to be used directly from your code.
(Inherited from QueryableCollectionView.)
Public propertyQueryableSourceCollection
Returns the queryable collection, constructed from SourceCollection.
(Inherited from QueryableCollectionView.)
Protected propertyShouldInitializeGroupProxy
Gets a value indicating whether should initialize group proxy.
(Inherited from QueryableCollectionView.)
Protected propertyShouldRefreshOrDeferOnPageSizeChange
Gets a value indicating whether this instance should RefreshOrDefer when PageSize changes.
(Inherited from QueryableCollectionView.)
Public propertyShouldRespectIEditableObject
Gets or set a value that indicates whether IEditableObject methods are automatically invoked by QueryableCollectionView.
(Inherited from QueryableCollectionView.)
Protected propertySortDescriptions
Gets the underlying SortDescriptions collection.
(Inherited from QueryableCollectionView.)
Public propertySortDescriptors
Gets the sort descriptors used for sorting operations.
(Inherited from QueryableCollectionView.)
Public propertySourceCollection
Returns the underlying collection.
(Inherited from QueryableCollectionView.)
Public propertyTotalItemCount
Gets the total number of items in the source collection, or -1 if the total number is unknown.
(Inherited from QueryableCollectionView.)
Top
Events
  NameDescription
Public eventCollectionChanged
Occurs when the collection changes.
(Inherited from QueryableCollectionView.)
Public eventCurrentChanged
When implementing this interface, raise this event after the current item has been changed.
(Inherited from QueryableCollectionView.)
Public eventCurrentChanging
When implementing this interface, raise this event before changing the current item. Event handler can cancel this event.
(Inherited from QueryableCollectionView.)
Public eventGroupCollectionChanged
This is for internal use only and is not intended to be used directly from your code.
(Inherited from QueryableCollectionView.)
Public eventLoadedData
Occurs when a data loading operation is completed.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public eventLoadingData
Occurs when a data loading operation is started.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public eventPageChanged
Occurs when the PageIndex has changed.
(Inherited from QueryableCollectionView.)
Public eventPageChanging
Occurs when the PageIndex is changing.
(Inherited from QueryableCollectionView.)
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from QueryableCollectionView.)
Public eventSubmittedChanges
Event raised whenever a submit operation is completed.
(Inherited from QueryableDataServiceCollectionViewBase.)
Public eventSubmittingChanges
Event raised whenever a submit operation is launched.
(Inherited from QueryableDataServiceCollectionViewBase.)
Top
See Also