Class
DataPointsCollectionView<T>

Represents a view over the ObservableProjectedView that supports data binding for the RadSparkline control.

Definition

Namespace:Telerik.Windows.Controls.Sparklines

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Type Parameters:

T

The type for the projected item.

Syntax:

cs-api-definition
public class DataPointsCollectionView<T> : ObservableProjectedView<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged, INotifyItemChanged, IDisposable where T : SparkDataPoint, new()

Inheritance: objectProjectedView<T>ObservableProjectedView<T>DataPointsCollectionView<T>

Implements: IDisposableIEnumerableIEnumerable<T>INotifyCollectionChangedINotifyItemChanged

Inherited Members ObservableProjectedView<T>.OnDispose()ObservableProjectedView<T>.OnItemsClearing()ObservableProjectedView<T>.ItemChangedProjectedView<T>.GetEnumerator()ProjectedView<T>.Dispose()ProjectedView<T>.OnItemProjected(T, object)ProjectedView<T>.OnItemRemoved(T)ProjectedView<T>.CountProjectedView<T>.this[int]ProjectedView<T>.CollectionChanged

Constructors

DataPointsCollectionView(IEnumerable)

Initializes a new instance of the DataPointsCollectionView<T> class.

Declaration

cs-api-definition
public DataPointsCollectionView(IEnumerable sourceCollection)

Parameters

sourceCollection

IEnumerable

The source collection.

Properties

XValuePath

Gets or sets the X value path.

Declaration

cs-api-definition
public string XValuePath { get; set; }

Property Value

string

The X value path.

YValuePath

Gets or sets the Y value path.

Declaration

cs-api-definition
public string YValuePath { get; set; }

Property Value

string

The Y value path.

Methods

OnItemAdded(T)

Called when a projected item is added.

Declaration

cs-api-definition
protected override void OnItemAdded(T addedItem)

Parameters

addedItem

T

The added item.

Overrides ProjectedView<T>.OnItemAdded(T)