Click or drag to resize
QueryableCollectionView Class
Represents a view for grouping, sorting, filtering and paging data collection using LINQ based query operators.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.DataQueryableCollectionView
    More...

Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data (in Telerik.Windows.Data.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class QueryableCollectionView : IEditableCollectionViewAddNewItem, 
	IEditableCollectionView, ICollectionView, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, 
	IPagedCollectionView, IWeakEventListener<NotifyCollectionChangedEventArgs>, IWeakEventListener<CurrentChangingEventArgs>, 
	IQueryableCollectionView, IItemProperties, IDisposable

The QueryableCollectionView type exposes the following members.

Constructors
  NameDescription
Public methodQueryableCollectionView(IEnumerable)
Initializes a new instance of the QueryableCollectionView class.
Public methodQueryableCollectionView(IEnumerable, Type)
Initializes a new instance of the QueryableCollectionView class.
Top
Methods
  NameDescription
Public methodAddNew
Adds a new item to the collection.
Public methodAddNew(Object)
Adds the new item to the collection.
Public methodAddNewItem
Adds the specified object to the collection.
Protected methodApplySelectDescriptors
Applies s over the specified queryable.
Public methodCancelEdit
Ends the edit transaction and discards any pending changes to the item.
Public methodCancelNew
Ends the add transaction and discards the pending new item.
Public methodCommitEdit
Ends the edit transaction and saves the pending changes.
Public methodCommitNew
Ends the add transaction and saves the pending new item.
Protected methodCompletePageMove
Completes the page move.
Protected methodConstructNewItem
Constructs a new item.
Public methodContains
Returns a value that indicates whether a given item belongs to this collection view.
Protected methodCreateInternalList
Called when internal list needs to be created.
Protected methodCreateView
Returns IQueryable with applied filtering, sorting, grouping and paging.
Public methodDeferRefresh
Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Unsubscribes form collection changed events.
Public methodEditItem
Begins an edit transaction of the specified item.
Protected methodGetEffectiveItemCount
Gets the count of items depending on the page and/or grouped state.
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
Protected methodGetInternalList
Called when internal list is required.
Public methodGetItemAt
Retrieves the item at the specified zero-based index in the view.
Protected methodGetPagingDeterminativeItemCount
Gets the paging determinative item count.
Public methodIndexOf
Returns the zero-based index at which the specified item is located.
Protected methodInitializeCurrencyOnRefresh
Initializes the currency on refresh.
Protected methodInitializeCurrentItem
Called when the current item should be initialized.
Protected methodInitializeInternalList
Called when internal list should be initialized.
Protected methodInvalidatePagingAndRefresh
Invalidates the paging and refreshes the view.
Protected methodInvalidatePagingDeterminativeItemCount
Invalidates the paging determinative item count.
Public methodMoveCurrentTo
Sets the specified item to be the CurrentItem in the view.
Public methodMoveCurrentToFirst
Sets the first item in the view as the CurrentItem.
Public methodMoveCurrentToLast
Sets the last item in the view as the CurrentItem.
Public methodMoveCurrentToNext
Sets the item after the CurrentItem in the view as the CurrentItem.
Public methodMoveCurrentToPosition
Sets the item at the specified index to be the CurrentItem in the view.
Public methodMoveCurrentToPrevious
Sets the item before the CurrentItem in the view as the CurrentItem.
Public methodMoveToFirstPage
Sets the first page as the current page.
Public methodMoveToLastPage
Sets the last page as the current page.
Public methodMoveToNextPage
Moves to the page after the current page.
Public methodMoveToPage
Requests a page move to the page at the specified index.
Protected methodMoveToPageCore
Requests a page move to the page at the specified index.
Public methodMoveToPreviousPage
Moves to the page before the current page.
Protected methodOnCollectionChanged
Raises the CollectionChanged event.
Protected methodOnCurrentChanged
Raises the CurrentChanged event.
Protected methodOnCurrentChanging
Raise a non-cancelable CurrentChanging event This is called when CurrentItem is affected by a CollectionChange (Remove or Refresh).
Protected methodOnCurrentChanging(CurrentChangingEventArgs)
Raises the CurrentChanging event.
Protected methodOnFilterDescriptorsChanged
Called when anything in the filter descriptors changes.
Protected methodOnFilterDescriptorsCollectionChanged
Invoked when the FilterDescriptors collection changes.
Protected methodOnFilterDescriptorsItemChanged
Invoked when the FilterDescriptors item changes.
Protected methodOnFilterDescriptorsLogicalOperatorChanged
Invoked when the FilterDescriptors logical operator changes.
Protected methodOnGroupDescriptorsCollectionChanged
Invoked when the roupDescriptors collection changes.
Protected methodOnGroupDescriptorsItemChanged
Invoked when the GroupDescriptors item changes.
Protected methodOnInternalListCreated
Called when internal list is created.
Protected methodOnPropertyChanged(PropertyChangedEventArgs)
Raises the PropertyChanged event.
Protected methodOnPropertyChanged(String)
Raises the PropertyChanged event.
Protected methodOnRefresh
Invoked when the instance should be refreshed.
Protected methodOnSortDescriptorsCollectionChanged
Invoked when the SortDescriptors collection changes.
Protected methodOnSortDescriptorsItemChanged
Invoked when the SortDescriptors item changes.
Protected methodPopulateInternalList
Called when internal list should be populated.
Protected methodRaisePageChanged
Raises the PageChanged event.
Public methodRefresh
Recreates the view.
Protected methodRefreshGroupsOnItemAction
Refreshes the groups according to the item and the respective action.
Protected methodRefreshOnItemAction
Refreshes the view according to the item and the respective action.
Protected methodRefreshOnItemActionWithoutPaging
Refreshes the view according to the item and the respective action when there is no paging involved.
Protected methodRefreshOverride
Re-create the view over the associated IList.
Protected methodRefreshOverrideCore
Re-create the view over the associated IList.
Public methodRemove
Removes the specified item from the collection.
Public methodRemoveAt
Removes the item at the specified position from the collection.
Protected methodSetCurrent
Sets the CurrentItem and CurrentPosition.
Protected methodSetCurrentPosition
Sets the CurrentPosition to the given newPosition .
Protected methodSetInternalList
Called when internal list should be set.
Protected methodSort
Sorts the specified queryable.
Protected methodUpdateItemCount
Called when the count of the items should be updated.
Protected methodUpdateTotalItemCount
Called when the count of all items should be updated.
Top
Properties
  NameDescription
Public propertyCanAddNew
Gets a value that indicates whether a new item can be added to the collection.
Public propertyCanAddNewItem
Gets a value that indicates whether a specified object can be added to the collection.
Public propertyCanCancelEdit
Gets a value that indicates whether the editing of an item can be canceled.
Public propertyCanChangePage
Gets a value that indicates whether the PageIndex value can change.
Public propertyCanFilter
Gets a value that indicates whether this view supports filtering via the FilterDescriptors property.
Public propertyCanGroup
Gets a value that indicates whether this view supports grouping via the GroupDescriptors property.
Public propertyCanRemove
Gets a value that indicates whether an item can be removed from the collection.
Public propertyCanSort
Gets a value that indicates whether this view supports sorting via the SortDescriptors property.
Public propertyCount
Gets the number of records in the view after grouping, filtering, sorting, and paging.
Public propertyCulture
Gets or sets the cultural info for any operations of the view that may differ by culture, such as sorting.
Public propertyCurrentAddItem
Gets the item that is being added during the current add transaction.
Public propertyCurrentEditItem
Gets the item in the collection that is being edited.
Public propertyCurrentItem
Gets the current item in the view.
Public propertyCurrentPosition
Gets the ordinal position of the CurrentItem within the view.
Public propertyFilter
Gets or sets a callback used to determine if an item is suitable for inclusion in the view.
Public propertyFilterDescriptors
Gets the filter descriptors used for filtering operations.
Protected propertyGroupDescriptions
Gets the underlying GroupDescriptions collection.
Public propertyGroupDescriptors
Gets the group descriptors used for grouping operations.
Public propertyGroups
Gets the top-level groups.
Protected propertyInternalCount
Protected accessor to private count.
Protected propertyInternalList
Gets the list created from resulting query after applying filtering, sorting, grouping and paging.
Public propertyIsAddingNew
Gets a value that indicates whether an add transaction is in progress.
Public propertyIsCurrentAfterLast
Gets a value that indicates whether the CurrentItem of the view is beyond the end of the collection.
Public propertyIsCurrentBeforeFirst
Gets a value that indicates whether the CurrentItem of the view is beyond the beginning of the collection.
Public propertyIsEditingItem
Gets a value that indicates whether an edit transaction is in progress.
Public propertyIsEmpty
Returns a value that indicates whether the resulting view is empty.
Public propertyIsGrouped
Gets a value indicating whether this instance is grouped.
Public propertyIsLoading
Gets a value that indicates whether this view is loading data.
Public propertyIsPageChanging
Gets a value that indicates whether a page index change is in process.
Protected propertyIsPaged
Gets a value indicating whether this instance has pages or not.
Public propertyItem
This indexer is not supposed to be used directly from your code.
Public propertyItemCount
Gets the minimum number of items known to be in the source collection.
Public propertyItemProperties
Gets a collection of objects that describes the properties of the items in the collection.
Public propertyItemPropertiesByPropertyName
Gets a dictionary of objects that describes the properties of the items in the collection by property name.
Public propertyItemType
Gets or sets the type used for all internal data engine operations.
Public propertyNeedsRefresh
Gets a value that indicates whether this view needs to be refreshed.
Public propertyNewItemPlaceholderPosition
Gets or sets the position of the new item placeholder in the collection.
Public propertyPageIndex
Gets the zero-based index of the current page.
Public propertyPageSize
Gets or sets the number of items to display on a page.
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.
Public propertyQueryableSourceCollection
Returns the queryable collection, constructed from SourceCollection.
Protected propertyShouldInitializeGroupProxy
Gets a value indicating whether should initialize group proxy.
Protected propertyShouldRefreshOrDeferOnPageSizeChange
Gets a value indicating whether this instance should RefreshOrDefer when PageSize changes.
Public propertyShouldRespectIEditableObject
Gets or set a value that indicates whether IEditableObject methods are automatically invoked by QueryableCollectionView.
Protected propertySortDescriptions
Gets the underlying SortDescriptions collection.
Public propertySortDescriptors
Gets the sort descriptors used for sorting operations.
Public propertySourceCollection
Returns the underlying collection.
Public propertyTotalItemCount
Gets the total number of items in the source collection, or -1 if the total number is unknown.
Top
Events
  NameDescription
Public eventCollectionChanged
Occurs when the collection changes.
Public eventCurrentChanged
When implementing this interface, raise this event after the current item has been changed.
Public eventCurrentChanging
When implementing this interface, raise this event before changing the current item. Event handler can cancel this event.
Public eventGroupCollectionChanged
This is for internal use only and is not intended to be used directly from your code.
Public eventPageChanged
Occurs when the PageIndex has changed.
Public eventPageChanging
Occurs when the PageIndex is changing.
Public eventPropertyChanged
Occurs when a property value changes.
Top
See Also
Inheritance Hierarchy