Class HierarchicalCollectionViewBase
Serves as a base class to all hierarchical views.
Inherited Members
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public abstract class HierarchicalCollectionViewBase : QueryableCollectionView, IEditableCollectionViewAddNewItem, IEditableCollectionView, 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
IsGrouped
Gets a value indicating whether this instance is grouped.
Declaration
public override bool IsGrouped { get; }
Property Value
System.Boolean
|
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
System.Boolean
|
Overrides
Remarks
Always false for HierarchicalCollectionViewBase.
Methods
CreateInternalList()
Called when internal list needs to be created.
Declaration
protected override void CreateInternalList()
Overrides
CreateView()
Returns System.Linq.IQueryable with applied filtering, sorting, grouping and paging.
Declaration
protected override IQueryable CreateView()
Returns
System.Linq.IQueryable
|
Overrides
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
InitializeInternalList(IQueryable)
Called when internal list should be initialized.
Declaration
protected override void InitializeInternalList(IQueryable view)
Parameters
System.Linq.IQueryable
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
System.Object
sender
Current instance of the QueryableCollectionView collection. |
System.Collections.Specialized.NotifyCollectionChangedEventArgs
e
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
System.Object
sender
Current instance of the QueryableCollectionView collection. |
ItemChangedEventArgs<IFilterDescriptor>
e
Information about the change. |
Overrides
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
PopulateInternalList(IQueryable)
Called when internal list should be populated.
Declaration
protected override void PopulateInternalList(IQueryable view)
Parameters
System.Linq.IQueryable
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
System.Object
item
The item. |
ItemAction
action
The action. |
Overrides
RefreshOverride()
Re-create the view over the associated IList.
Declaration
protected override void RefreshOverride()