skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class HierarchicalCollectionViewBase

Serves as a base class to all hierarchical views.

Inheritance
System.Object
QueryableCollectionView
HierarchicalCollectionViewBase
HierarchicalChildCollectionView
HierarchicalCollectionView
Inherited Members
QueryableCollectionView.AddNew()
QueryableCollectionView.AddNewItem(Object)
QueryableCollectionView.AddNew(Object)
QueryableCollectionView.CommitNew()
QueryableCollectionView.CancelNew()
QueryableCollectionView.EditItem(Object)
QueryableCollectionView.CommitEdit()
QueryableCollectionView.CancelEdit()
QueryableCollectionView.Remove(Object)
QueryableCollectionView.RemoveAt(Int32)
QueryableCollectionView.ConstructNewItem()
QueryableCollectionView.RaisePageChanged()
QueryableCollectionView.CompletePageMove(Int32)
QueryableCollectionView.MoveToFirstPage()
QueryableCollectionView.MoveToLastPage()
QueryableCollectionView.MoveToNextPage()
QueryableCollectionView.MoveToPage(Int32)
QueryableCollectionView.MoveToPageCore(Int32)
QueryableCollectionView.MoveToPreviousPage()
QueryableCollectionView.UpdateItemCount()
QueryableCollectionView.GetEffectiveItemCount()
QueryableCollectionView.GetPagingDeterminativeItemCount()
QueryableCollectionView.InvalidatePagingDeterminativeItemCount()
QueryableCollectionView.DeferRefresh()
QueryableCollectionView.MoveCurrentTo(Object)
QueryableCollectionView.MoveCurrentToFirst()
QueryableCollectionView.MoveCurrentToLast()
QueryableCollectionView.MoveCurrentToNext()
QueryableCollectionView.MoveCurrentToPosition(Int32)
QueryableCollectionView.MoveCurrentToPrevious()
QueryableCollectionView.OnCurrentChanged(EventArgs)
QueryableCollectionView.OnCurrentChanging(CurrentChangingEventArgs)
QueryableCollectionView.OnCurrentChanging()
QueryableCollectionView.SetCurrentPosition(Int32)
QueryableCollectionView.SetCurrent(Object, Int32)
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(Boolean)
QueryableCollectionView.CanAddNew
QueryableCollectionView.ShouldRespectIEditableObject
QueryableCollectionView.CanAddNewItem
QueryableCollectionView.CurrentAddItem
QueryableCollectionView.CanRemove
QueryableCollectionView.CanCancelEdit
QueryableCollectionView.CurrentEditItem
QueryableCollectionView.IsAddingNew
QueryableCollectionView.IsEditingItem
QueryableCollectionView.NewItemPlaceholderPosition
QueryableCollectionView.CanChangePage
QueryableCollectionView.IsPageChanging
QueryableCollectionView.PageIndex
QueryableCollectionView.PageSize
QueryableCollectionView.ShouldRefreshOrDeferOnPageSizeChange
QueryableCollectionView.IsPaged
QueryableCollectionView.Count
QueryableCollectionView.TotalItemCount
QueryableCollectionView.ItemCount
QueryableCollectionView.CurrentPosition
QueryableCollectionView.IsCurrentAfterLast
QueryableCollectionView.IsCurrentBeforeFirst
QueryableCollectionView.CurrentItem
QueryableCollectionView.PendingCurrencyRefresh
QueryableCollectionView.NeedsRefresh
QueryableCollectionView.SourceCollection
QueryableCollectionView.QueryableSourceCollection
QueryableCollectionView.CanFilter
QueryableCollectionView.CanGroup
QueryableCollectionView.CanSort
QueryableCollectionView.Culture
QueryableCollectionView.Groups
QueryableCollectionView.Item[Int32]
QueryableCollectionView.IsEmpty
QueryableCollectionView.SortDescriptors
QueryableCollectionView.FilterDescriptors
QueryableCollectionView.GroupDescriptors
QueryableCollectionView.ItemType
QueryableCollectionView.InternalList
QueryableCollectionView.IsLoading
QueryableCollectionView.Filter
QueryableCollectionView.SortDescriptions
QueryableCollectionView.GroupDescriptions
QueryableCollectionView.ItemProperties
QueryableCollectionView.ItemPropertiesByPropertyName
QueryableCollectionView.PageChanged
QueryableCollectionView.PageChanging
QueryableCollectionView.CollectionChanged
QueryableCollectionView.CurrentChanged
QueryableCollectionView.CurrentChanging
QueryableCollectionView.PropertyChanged
QueryableCollectionView.GroupCollectionChanged
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll

Syntax

public abstract class HierarchicalCollectionViewBase : QueryableCollectionView, IEditableCollectionView, IEditableCollectionViewAddNewItem, ICollectionView, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, IPagedCollectionView, IWeakEventListener<NotifyCollectionChangedEventArgs>, IWeakEventListener<CurrentChangingEventArgs>, IQueryableCollectionView, IItemProperties, IDisposable

Properties

HierarchyDescriptors

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

Declaration
public abstract HierarchyDescriptorCollection HierarchyDescriptors { get; }
Property Value
HierarchyDescriptorCollection

The hierarchy descriptors.

InternalCount

Protected accessor to private count.

Declaration
protected override int InternalCount { get; }
Property Value
System.Int32

Overrides
QueryableCollectionView.InternalCount

IsGrouped

Gets a value indicating whether this instance is grouped.

Declaration
public override bool IsGrouped { get; }
Property Value
System.Boolean

true if this instance is grouped; otherwise, false.

Overrides
QueryableCollectionView.IsGrouped
Remarks

Returns false. Grouping is not supported.

ShouldInitializeGroupProxy

Gets a value indicating whether should initialize group proxy.

Declaration
protected override bool ShouldInitializeGroupProxy { get; }
Property Value
System.Boolean

true if should initialize group proxy; otherwise, false.

Overrides
QueryableCollectionView.ShouldInitializeGroupProxy
Remarks

Always false for HierarchicalCollectionViewBase.

Methods

CreateInternalList()

Called when internal list needs to be created.

Declaration
protected override void CreateInternalList()
Overrides
QueryableCollectionView.CreateInternalList()

CreateView()

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

Declaration
protected override IQueryable CreateView()
Returns
System.Linq.IQueryable

Overrides
QueryableCollectionView.CreateView()
Remarks

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

GetItemAt(Int32)

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

Declaration
public override object GetItemAt(int index)
Parameters
System.Int32 index

Returns
System.Object

Overrides
QueryableCollectionView.GetItemAt(Int32)

InitializeInternalList(IQueryable)

Called when internal list should be initialized.

Declaration
protected override void InitializeInternalList(IQueryable view)
Parameters
System.Linq.IQueryable view

Overrides
QueryableCollectionView.InitializeInternalList(IQueryable)

OnFilterDescriptorsChanged()

Called when anything in the filter descriptors changes.

Declaration
protected override void OnFilterDescriptorsChanged()
Overrides
QueryableCollectionView.OnFilterDescriptorsChanged()

OnFilterDescriptorsCollectionChanged(Object, NotifyCollectionChangedEventArgs)

Invoked when the FilterDescriptors collection changes.

Declaration
protected override void OnFilterDescriptorsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
System.Object sender

Current instance of the QueryableCollectionView collection.

System.Collections.Specialized.NotifyCollectionChangedEventArgs e

Information about the change.

Overrides
QueryableCollectionView.OnFilterDescriptorsCollectionChanged(Object, NotifyCollectionChangedEventArgs)

OnFilterDescriptorsItemChanged(Object, ItemChangedEventArgs<IFilterDescriptor>)

Invoked when the FilterDescriptors item changes.

Declaration
protected override void OnFilterDescriptorsItemChanged(object sender, ItemChangedEventArgs<IFilterDescriptor> e)
Parameters
System.Object sender

Current instance of the QueryableCollectionView collection.

ItemChangedEventArgs<IFilterDescriptor> e

Information about the change.

Overrides
QueryableCollectionView.OnFilterDescriptorsItemChanged(Object, ItemChangedEventArgs<IFilterDescriptor>)

OnSortDescriptorsCollectionChanged(Object, NotifyCollectionChangedEventArgs)

Invoked when the SortDescriptors collection changes.

Declaration
protected override void OnSortDescriptorsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
System.Object sender

Current instance of the QueryableCollectionView collection.

System.Collections.Specialized.NotifyCollectionChangedEventArgs e

Information about the change.

Overrides
QueryableCollectionView.OnSortDescriptorsCollectionChanged(Object, NotifyCollectionChangedEventArgs)

PopulateInternalList(IQueryable)

Called when internal list should be populated.

Declaration
protected override void PopulateInternalList(IQueryable view)
Parameters
System.Linq.IQueryable view

Overrides
QueryableCollectionView.PopulateInternalList(IQueryable)

RefreshOnItemAction(Object, ItemAction)

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

Declaration
protected override void RefreshOnItemAction(object item, ItemAction action)
Parameters
System.Object item

The item.

ItemAction action

The action.

Overrides
QueryableCollectionView.RefreshOnItemAction(Object, ItemAction)

RefreshOverride()

Re-create the view over the associated IList.

Declaration
protected override void RefreshOverride()
Overrides
QueryableCollectionView.RefreshOverride()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.