Serves as a base class to all hierarchical views.
Definition
Namespace:Telerik.Windows.Data
Assembly:Telerik.Windows.Data.dll
Syntax:
public abstract class HierarchicalCollectionViewBase : QueryableCollectionView, ICollectionView, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, IPagedCollectionView, IQueryableCollectionView, IItemProperties, IDisposable, IEditableCollectionView, IEditableCollectionViewAddNewItem
Inheritance: objectQueryableCollectionViewHierarchicalCollectionViewBase
Derived Classes:
Implements:
Inherited Members
Properties
Gets the hierarchy descriptors used for hierarchy construction. If this view is a child one, its root view hierarchy descriptors are returned.
public abstract HierarchyDescriptorCollection HierarchyDescriptors { get; }
The hierarchy descriptors.
Protected accessor to private count.
protected override int InternalCount { get; }
Overrides:
Gets a value indicating whether this instance is grouped.
public override bool IsGrouped { get; }
true if this instance is grouped; otherwise, false.
Overrides:
Returns false. Grouping is not supported.
Gets a value indicating whether should initialize group proxy.
protected override bool ShouldInitializeGroupProxy { get; }
true if should initialize group proxy; otherwise, false.
Overrides:
Always false for HierarchicalCollectionViewBase.
Methods
Called when internal list needs to be created.
protected override void CreateInternalList()
Overrides:
Returns IQueryable with applied filtering, sorting, grouping and paging.
protected override IQueryable CreateView()
Overrides:
Overrides the CreateView method and returns a IQueryable view specific to the hierarchy collection view.
Called when internal list should be initialized.
protected override void InitializeInternalList(IQueryable view)
Overrides:
Called when anything in the filter descriptors changes.
protected override void OnFilterDescriptorsChanged()
Overrides:
Invoked when the FilterDescriptors collection changes.
protected override void OnFilterDescriptorsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Current instance of the QueryableCollectionView collection.
eNotifyCollectionChangedEventArgsInformation about the change.
Overrides:
Invoked when the FilterDescriptors item changes.
protected override void OnFilterDescriptorsItemChanged(object sender, ItemChangedEventArgs<IFilterDescriptor> e)
Current instance of the QueryableCollectionView collection.
eItemChangedEventArgs<IFilterDescriptor>Information about the change.
Overrides:
Invoked when the SortDescriptors collection changes.
protected override void OnSortDescriptorsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Current instance of the QueryableCollectionView collection.
eNotifyCollectionChangedEventArgsInformation about the change.
Overrides:
Called when internal list should be populated.
protected override void PopulateInternalList(IQueryable view)
Overrides:
Refreshes the view according to the item and the respective action.
protected override void RefreshOnItemAction(object item, ItemAction action)
The item.
actionItemActionThe action.
Overrides:
Re-create the view over the associated IList.
protected override void RefreshOverride()
Overrides: