ClassDataPointsCollectionView<T>
Class
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:
Inherited Members
Constructors
DataPointsCollectionView(IEnumerable)
Initializes a new instance of the DataPointsCollectionView<T> class.
Declaration
cs-api-definition
public DataPointsCollectionView(IEnumerable sourceCollection)
Parameters
sourceCollection
The source collection.
Properties
XValuePath
Gets or sets the X value path.
Declaration
cs-api-definition
public string XValuePath { get; set; }
Property Value
The X value path.
YValuePath
Gets or sets the Y value path.
Declaration
cs-api-definition
public string YValuePath { get; set; }
Property Value
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