ClassHierarchicalCollectionViewBase
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, IEditableCollectionView, IEditableCollectionViewAddNewItem, ICollectionView, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, IPagedCollectionView, IQueryableCollectionView, IItemProperties, IDisposable
Inheritance: objectQueryableCollectionViewHierarchicalCollectionViewBase
Derived Classes:
Implements:
Inherited Members
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
The hierarchy descriptors.
InternalCount
Protected accessor to private count.
Declaration
protected override int InternalCount { get; }
Property Value
Overrides
IsGrouped
Gets a value indicating whether this instance is grouped.
Declaration
public override bool IsGrouped { get; }
Property Value
true if this instance is grouped; otherwise, false.
Overrides
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
true if should initialize group proxy; otherwise, false.
Overrides
Remarks
Always false for HierarchicalCollectionViewBase.
Methods
CreateInternalList()
Called when internal list needs to be created.
Declaration
protected override void CreateInternalList()
Overrides
CreateView()
Returns IQueryable with applied filtering, sorting, grouping and paging.
Declaration
protected override IQueryable CreateView()
Returns
Overrides
Remarks
Overrides the CreateView method and returns a IQueryable view specific to the hierarchy collection view.
GetItemAt(int)
Retrieves the item at the specified zero-based index in the view.
InitializeInternalList(IQueryable)
Called when internal list should be initialized.
Declaration
protected override void InitializeInternalList(IQueryable view)
Parameters
view
Overrides
OnFilterDescriptorsChanged()
Called when anything in the filter descriptors changes.
Declaration
protected override void OnFilterDescriptorsChanged()
Overrides
OnFilterDescriptorsCollectionChanged(object, NotifyCollectionChangedEventArgs)
Invoked when the FilterDescriptors collection changes.
Declaration
protected override void OnFilterDescriptorsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
sender
Current instance of the QueryableCollectionView collection.
e
NotifyCollectionChangedEventArgs
Information about the change.
Overrides
OnFilterDescriptorsItemChanged(object, ItemChangedEventArgs<IFilterDescriptor>)
Invoked when the FilterDescriptors item changes.
Declaration
protected override void OnFilterDescriptorsItemChanged(object sender, ItemChangedEventArgs<IFilterDescriptor> e)
Parameters
sender
Current instance of the QueryableCollectionView collection.
e
ItemChangedEventArgs<IFilterDescriptor>
Information about the change.
Overrides
OnSortDescriptorsCollectionChanged(object, NotifyCollectionChangedEventArgs)
Invoked when the SortDescriptors collection changes.
Declaration
protected override void OnSortDescriptorsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
sender
Current instance of the QueryableCollectionView collection.
e
NotifyCollectionChangedEventArgs
Information about the change.
Overrides
PopulateInternalList(IQueryable)
Called when internal list should be populated.
Declaration
protected override void PopulateInternalList(IQueryable view)
Parameters
view
Overrides
RefreshOnItemAction(object, ItemAction)
Refreshes the view according to the item and the respective action.
Declaration
protected override void RefreshOnItemAction(object item, ItemAction action)
Parameters
item
The item.
action
The action.
Overrides
RefreshOverride()
Re-create the view over the associated IList.
Declaration
protected override void RefreshOverride()
Overrides