ClassProjectedView<T>
Provides a projected view over a source list.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Type Parameters:
T
The type for the projected item.
Syntax:
public class ProjectedView<T> : IEnumerable<T>, IEnumerable, INotifyCollectionChanged, IDisposable where T : new()
Inheritance: objectProjectedView<T>
Derived Classes:
Implements:
Constructors
ProjectedView(IEnumerable)
Initializes a new instance of the ProjectedView<T> class.
Declaration
public ProjectedView(IEnumerable sourceList)
Parameters
sourceList
The source list.
Properties
Count
Gets the number of projected items in the view.
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Implements
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<T> GetEnumerator()
Returns
IEnumerator<T>
A IEnumerator<T> that can be used to iterate through the collection.
Implements
OnDispose()
A protected virtual version of Dispose() used by inheriting classes.
Declaration
protected virtual void OnDispose()
OnItemAdded(T)
Called when a projected item is added.
Declaration
protected virtual void OnItemAdded(T addedItem)
Parameters
addedItem
T
The added item.
OnItemProjected(T, object)
Called when an item is projected.
Declaration
protected virtual void OnItemProjected(T projectedItem, object sourceItem)
Parameters
projectedItem
T
The projected item.
sourceItem
The source item.
OnItemRemoved(T)
Called when a projected item is removed.
Declaration
protected virtual void OnItemRemoved(T removedItem)
Parameters
removedItem
T
The removed item.
OnItemsClearing()
Called when the the ProjectedItemList is about to be cleared.
Declaration
protected virtual void OnItemsClearing()
Events
CollectionChanged
Occurs when the items list of the collection has changed, or the collection is reset.
Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Value
Implements