Click or drag to resize
HierarchicalCollectionView Class
CollectionView used in the RadTreeListView.
Inheritance Hierarchy

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 HierarchicalCollectionView : HierarchicalCollectionViewBase, 
	INotifyCollectionStateProvider

The HierarchicalCollectionView type exposes the following members.

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 methodCancelNew
Ends the add transaction and discards the pending new item.
(Inherited from QueryableCollectionView.)
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 QueryableCollectionView.)
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.
(Inherited from HierarchicalCollectionViewBase.)
Protected methodCreateView
Returns IQueryable with applied filtering, sorting, grouping and paging.
(Inherited from HierarchicalCollectionViewBase.)
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.
(Inherited from QueryableCollectionView.)
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 HierarchicalCollectionViewBase.)
Protected methodInvalidatePagingAndRefresh
Invalidates the paging and refreshes the view.
(Inherited from QueryableCollectionView.)
Protected methodInvalidatePagingDeterminativeItemCount
Invalidates the paging determinative item count.
(Inherited from QueryableCollectionView.)
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 QueryableCollectionView.)
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 HierarchicalCollectionViewBase.)
Protected methodOnFilterDescriptorsCollectionChanged
Invoked when the FilterDescriptors collection changes.
(Inherited from HierarchicalCollectionViewBase.)
Protected methodOnFilterDescriptorsItemChanged
Invoked when the FilterDescriptors item changes.
(Inherited from HierarchicalCollectionViewBase.)
Protected methodOnFilterDescriptorsLogicalOperatorChanged
Invoked when the FilterDescriptors logical operator changes.
(Inherited from QueryableCollectionView.)
Protected methodOnGroupDescriptorsCollectionChanged
Invoked when the roupDescriptors collection changes.
(Inherited from QueryableCollectionView.)
Protected methodOnGroupDescriptorsItemChanged
Invoked when the GroupDescriptors item changes.
(Inherited from QueryableCollectionView.)
Protected methodOnInternalListCreated
Called when internal list is created.
(Inherited from QueryableCollectionView.)
Protected methodOnPropertyChanged(PropertyChangedEventArgs)
Raises the PropertyChanged event.
(Inherited from QueryableCollectionView.)
Protected methodOnPropertyChanged(String)
Raises the PropertyChanged event.
(Inherited from QueryableCollectionView.)
Protected methodOnRefresh
Invoked when the instance should be refreshed.
(Inherited from QueryableCollectionView.)
Protected methodOnSortDescriptorsCollectionChanged
Invoked when the SortDescriptors collection changes.
(Inherited from HierarchicalCollectionViewBase.)
Protected methodOnSortDescriptorsItemChanged
Invoked when the SortDescriptors item changes.
(Inherited from QueryableCollectionView.)
Protected methodPopulateInternalList
Called when internal list should be populated.
(Inherited from HierarchicalCollectionViewBase.)
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 HierarchicalCollectionViewBase.)
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 HierarchicalCollectionViewBase.)
Protected methodRefreshOverrideCore
Re-create the view over the associated IList.
(Inherited from QueryableCollectionView.)
Public methodRemove
Removes the specified item from the collection.
(Overrides QueryableCollectionViewRemove(Object).)
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.)
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.
(Inherited from QueryableCollectionView.)
Top
Properties
  NameDescription
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
Gets a value that indicates whether the PageIndex value can change.
(Inherited from QueryableCollectionView.)
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 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 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 propertyHierarchyDescriptors
Gets the hierarchy descriptors used for hierarchy construction. If this view is a child one, its root view hierarchy descriptors are returned.
(Overrides HierarchicalCollectionViewBaseHierarchyDescriptors.)
Protected propertyInternalCount
Protected accessor to private count.
(Inherited from HierarchicalCollectionViewBase.)
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 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 HierarchicalCollectionViewBase.)
Public propertyIsLoading
Gets a value that indicates whether this view is loading data.
(Inherited from QueryableCollectionView.)
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 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 HierarchicalCollectionViewBase.)
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 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.)
Top
See Also