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, 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
Hierarchy The hierarchy descriptors. |
InternalCount
Protected accessor to private count.
Declaration
protected override int InternalCount { get; }
Property Value
System.
|
Overrides
IsGrouped
Gets a value indicating whether this instance is grouped.
Declaration
public override bool IsGrouped { get; }
Property Value
System.
|
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.
|
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.
Declaration
protected override IQueryable CreateView()
Returns
System.
|
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.
|
Returns
System.
|
Overrides
InitializeInternalList(IQueryable)
Called when internal list should be initialized.
Declaration
protected override void InitializeInternalList(IQueryable view)
Parameters
System.
|
Overrides
OnFilterDescriptorsChanged()
Called when anything in the filter descriptors changes.
Declaration
protected override void OnFilterDescriptorsChanged()
Overrides
OnFilterDescriptorsCollectionChanged(Object, NotifyCollectionChangedEventArgs)
Invoked when the Filter
Declaration
protected override void OnFilterDescriptorsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
System. Current instance of the QueryableCollectionView collection. |
System. Information about the change. |
Overrides
OnFilterDescriptorsItemChanged(Object, ItemChangedEventArgs<IFilterDescriptor>)
Invoked when the Filter
Declaration
protected override void OnFilterDescriptorsItemChanged(object sender, ItemChangedEventArgs<IFilterDescriptor> e)
Parameters
System. Current instance of the QueryableCollectionView collection. |
Item Information about the change. |
Overrides
OnSortDescriptorsCollectionChanged(Object, NotifyCollectionChangedEventArgs)
Invoked when the Sort
Declaration
protected override void OnSortDescriptorsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
System. Current instance of the QueryableCollectionView collection. |
System. Information about the change. |
Overrides
PopulateInternalList(IQueryable)
Called when internal list should be populated.
Declaration
protected override void PopulateInternalList(IQueryable view)
Parameters
System.
|
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. The item. |
Item The action. |
Overrides
RefreshOverride()
Re-create the view over the associated IList.
Declaration
protected override void RefreshOverride()