Class RadHierarchicalObservableCollection<T>
Represents a dynamic collection of items that provides notifications when items get added, removed, their property changes or when the whole list is refreshed.
Inherited Members
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class RadHierarchicalObservableCollection<T> : RadObservableCollection<T>, ISuspendNotifications, INotifyCollectionStateProvider, INotifyItemPropertyChanged
Type Parameters
T
|
Constructors
RadHierarchicalObservableCollection()
Declaration
public RadHierarchicalObservableCollection()
Methods
AddRange(IEnumerable<T>)
Adds the elements of the specified collection to the end of the ObservableCollection"/>.
Declaration
public override void AddRange(IEnumerable<T> items)
Parameters
System.Collections.Generic.IEnumerable<T>
items
The items that will be added. |
Overrides
ClearItems()
Removes all items from the collection.
Declaration
protected override void ClearItems()
Overrides
InsertItem(Int32, T)
Inserts an element into the System.Collections.ObjectModel.Collection<> at the specified index.
Declaration
protected override void InsertItem(int index, T item)
Parameters
System.Int32
index
The zero-based index at which |
T
item
The object to insert. The value can be null for reference types. |
Overrides
Exceptions
System.ArgumentOutOfRangeException
|
RemoveItem(Int32)
Removes the element at the specified index of the System.Collections.ObjectModel.Collection<>.
Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32
index
The zero-based index of the element to remove. |
Overrides
Exceptions
System.ArgumentOutOfRangeException
|
Events
ItemPropertyChanged
Occurs when an Item's property has changed to notify the subscribers about this change.
Declaration
public event PropertyChangedEventHandler ItemPropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|