New to Telerik UI for WPFStart a free 30-day trial

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:

C#
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

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

C#
public DataPointsCollectionView(IEnumerable sourceCollection)
Parameters:sourceCollectionIEnumerable

The source collection.

Properties

Gets or sets the X value path.

C#
public string XValuePath { get; set; }
Property Value:

The X value path.

Gets or sets the Y value path.

C#
public string YValuePath { get; set; }
Property Value:

The Y value path.

Methods

Called when a projected item is added.

C#
protected override void OnItemAdded(T addedItem)
Parameters:addedItemT

The added item.

Overrides: ProjectedView<T>.OnItemAdded(T)