New to Telerik UI for WPFStart a free 30-day trial

Serves as a base class to all hierarchical views.

Definition

Namespace:Telerik.Windows.Data

Assembly:Telerik.Windows.Data.dll

Syntax:

C#
public abstract class HierarchicalCollectionViewBase : QueryableCollectionView, ICollectionView, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, IPagedCollectionView, IQueryableCollectionView, IItemProperties, IDisposable, IEditableCollectionView, IEditableCollectionViewAddNewItem

Inheritance: objectQueryableCollectionViewHierarchicalCollectionViewBase

Derived Classes: HierarchicalChildCollectionViewHierarchicalCollectionView

Implements: ICollectionViewIDisposableIEditableCollectionViewIEditableCollectionViewAddNewItemIEnumerableIItemPropertiesINotifyCollectionChangedINotifyPropertyChangedIPagedCollectionViewIQueryableCollectionView...

Inherited Members QueryableCollectionView.InitializeCurrentItem()QueryableCollectionView.Contains(object)QueryableCollectionView.Refresh()QueryableCollectionView.OnRefresh()QueryableCollectionView.GetEnumerator()QueryableCollectionView.InvalidatePagingAndRefresh()QueryableCollectionView.OnSortDescriptorsItemChanged(object, ItemChangedEventArgs<ISortDescriptor>)QueryableCollectionView.OnGroupDescriptorsItemChanged(object, ItemChangedEventArgs<IGroupDescriptor>)QueryableCollectionView.OnGroupDescriptorsCollectionChanged(object, NotifyCollectionChangedEventArgs)QueryableCollectionView.OnFilterDescriptorsLogicalOperatorChanged()QueryableCollectionView.ApplySelectDescriptors(IQueryable)QueryableCollectionView.Sort(IQueryable)QueryableCollectionView.SetInternalList(IList)QueryableCollectionView.GetInternalList()QueryableCollectionView.OnInternalListCreated()QueryableCollectionView.OnPropertyChanged(PropertyChangedEventArgs)QueryableCollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs)QueryableCollectionView.RefreshOverrideCore()QueryableCollectionView.InitializeCurrencyOnRefresh(QueryableCollectionView.CurrencyRefreshInfo)QueryableCollectionView.RefreshGroupsOnItemAction(object, ItemAction)QueryableCollectionView.RefreshOnItemActionWithoutPaging(object, ItemAction)QueryableCollectionView.OnPropertyChanged(string)QueryableCollectionView.UpdateTotalItemCount()QueryableCollectionView.IndexOf(object)QueryableCollectionView.Dispose()QueryableCollectionView.Dispose(bool)QueryableCollectionView.MoveCurrentTo(object)QueryableCollectionView.MoveCurrentToFirst()QueryableCollectionView.MoveCurrentToLast()QueryableCollectionView.MoveCurrentToNext()QueryableCollectionView.MoveCurrentToPosition(int)QueryableCollectionView.MoveCurrentToPrevious()QueryableCollectionView.OnCurrentChanged(EventArgs)QueryableCollectionView.OnCurrentChanging(CurrentChangingEventArgs)QueryableCollectionView.OnCurrentChanging()QueryableCollectionView.SetCurrentPosition(int)QueryableCollectionView.SetCurrent(object, int)QueryableCollectionView.DeferRefresh()QueryableCollectionView.AddNew()QueryableCollectionView.AddNewItem(object)QueryableCollectionView.AddNew(object)QueryableCollectionView.CommitNew()QueryableCollectionView.CancelNew()QueryableCollectionView.EditItem(object)QueryableCollectionView.CommitEdit()QueryableCollectionView.CancelEdit()QueryableCollectionView.Remove(object)QueryableCollectionView.RemoveAt(int)QueryableCollectionView.ConstructNewItem()QueryableCollectionView.RaisePageChanged()QueryableCollectionView.CompletePageMove(int)QueryableCollectionView.MoveToFirstPage()QueryableCollectionView.MoveToLastPage()QueryableCollectionView.MoveToNextPage()QueryableCollectionView.MoveToPage(int)QueryableCollectionView.MoveToPageCore(int)QueryableCollectionView.MoveToPreviousPage()QueryableCollectionView.UpdateItemCount()QueryableCollectionView.GetEffectiveItemCount()QueryableCollectionView.GetPagingDeterminativeItemCount()QueryableCollectionView.InvalidatePagingDeterminativeItemCount()QueryableCollectionView.NeedsRefreshQueryableCollectionView.SourceCollectionQueryableCollectionView.QueryableSourceCollectionQueryableCollectionView.CanFilterQueryableCollectionView.CanGroupQueryableCollectionView.CanSortQueryableCollectionView.CultureQueryableCollectionView.GroupsQueryableCollectionView.IsEmptyQueryableCollectionView.SortDescriptorsQueryableCollectionView.FilterDescriptorsQueryableCollectionView.GroupDescriptorsQueryableCollectionView.ItemTypeQueryableCollectionView.InternalListQueryableCollectionView.IsLoadingQueryableCollectionView.CurrentPositionQueryableCollectionView.IsCurrentAfterLastQueryableCollectionView.IsCurrentBeforeFirstQueryableCollectionView.CurrentItemQueryableCollectionView.PendingCurrencyRefreshQueryableCollectionView.CanAddNewQueryableCollectionView.ShouldRespectIEditableObjectQueryableCollectionView.CanAddNewItemQueryableCollectionView.CurrentAddItemQueryableCollectionView.CanRemoveQueryableCollectionView.CanCancelEditQueryableCollectionView.CurrentEditItemQueryableCollectionView.IsAddingNewQueryableCollectionView.IsEditingItemQueryableCollectionView.NewItemPlaceholderPositionQueryableCollectionView.ItemPropertiesQueryableCollectionView.ItemPropertiesByPropertyNameQueryableCollectionView.FilterQueryableCollectionView.SortDescriptionsQueryableCollectionView.GroupDescriptionsQueryableCollectionView.CanChangePageQueryableCollectionView.IsPageChangingQueryableCollectionView.PageIndexQueryableCollectionView.PageSizeQueryableCollectionView.ShouldRefreshOrDeferOnPageSizeChangeQueryableCollectionView.IsPagedQueryableCollectionView.CountQueryableCollectionView.TotalItemCountQueryableCollectionView.ItemCountQueryableCollectionView.GroupCollectionChangedQueryableCollectionView.CollectionChangedQueryableCollectionView.CurrentChangedQueryableCollectionView.CurrentChangingQueryableCollectionView.PropertyChangedQueryableCollectionView.PageChangedQueryableCollectionView.PageChanging...

Properties

Gets the hierarchy descriptors used for hierarchy construction. If this view is a child one, its root view hierarchy descriptors are returned.

C#
public abstract HierarchyDescriptorCollection HierarchyDescriptors { get; }
Property Value:

The hierarchy descriptors.

Protected accessor to private count.

C#
protected override int InternalCount { get; }

Overrides: QueryableCollectionView.InternalCount

Gets a value indicating whether this instance is grouped.

C#
public override bool IsGrouped { get; }
Property Value:

true if this instance is grouped; otherwise, false.

Overrides: QueryableCollectionView.IsGrouped

Remarks:

Returns false. Grouping is not supported.

Gets a value indicating whether should initialize group proxy.

C#
protected override bool ShouldInitializeGroupProxy { get; }
Property Value:

true if should initialize group proxy; otherwise, false.

Overrides: QueryableCollectionView.ShouldInitializeGroupProxy

Remarks:

Always false for HierarchicalCollectionViewBase.

Methods

Called when internal list needs to be created.

C#
protected override void CreateInternalList()

Overrides: QueryableCollectionView.CreateInternalList()

Returns IQueryable with applied filtering, sorting, grouping and paging.

C#
protected override IQueryable CreateView()
Returns:

IQueryable

Overrides: QueryableCollectionView.CreateView()

Remarks:

Overrides the CreateView method and returns a IQueryable view specific to the hierarchy collection view.

Retrieves the item at the specified zero-based index in the view.

C#
public override object GetItemAt(int index)
Parameters:indexintReturns:

object

Overrides: QueryableCollectionView.GetItemAt(int)

Called when internal list should be initialized.

C#
protected override void InitializeInternalList(IQueryable view)
Parameters:viewIQueryable

Overrides: QueryableCollectionView.InitializeInternalList(IQueryable)

Called when anything in the filter descriptors changes.

C#
protected override void OnFilterDescriptorsChanged()

Overrides: QueryableCollectionView.OnFilterDescriptorsChanged()

Invoked when the FilterDescriptors collection changes.

C#
protected override void OnFilterDescriptorsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters:senderobject

Current instance of the QueryableCollectionView collection.

eNotifyCollectionChangedEventArgs

Information about the change.

Overrides: QueryableCollectionView.OnFilterDescriptorsCollectionChanged(object, NotifyCollectionChangedEventArgs)

Invoked when the FilterDescriptors item changes.

C#
protected override void OnFilterDescriptorsItemChanged(object sender, ItemChangedEventArgs<IFilterDescriptor> e)
Parameters:senderobject

Current instance of the QueryableCollectionView collection.

eItemChangedEventArgs<IFilterDescriptor>

Information about the change.

Overrides: QueryableCollectionView.OnFilterDescriptorsItemChanged(object, ItemChangedEventArgs<IFilterDescriptor>)

Invoked when the SortDescriptors collection changes.

C#
protected override void OnSortDescriptorsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters:senderobject

Current instance of the QueryableCollectionView collection.

eNotifyCollectionChangedEventArgs

Information about the change.

Overrides: QueryableCollectionView.OnSortDescriptorsCollectionChanged(object, NotifyCollectionChangedEventArgs)

Called when internal list should be populated.

C#
protected override void PopulateInternalList(IQueryable view)
Parameters:viewIQueryable

Overrides: QueryableCollectionView.PopulateInternalList(IQueryable)

Refreshes the view according to the item and the respective action.

C#
protected override void RefreshOnItemAction(object item, ItemAction action)
Parameters:itemobject

The item.

actionItemAction

The action.

Overrides: QueryableCollectionView.RefreshOnItemAction(object, ItemAction)

Re-create the view over the associated IList.

C#
protected override void RefreshOverride()

Overrides: QueryableCollectionView.RefreshOverride()