Class DataPointsCollectionView<T>
Represents a view over the ObservableProjectedView that supports data binding for the RadSparkline control.
Inherited Members
Namespace: Telerik.Windows.Controls.Sparklines
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class DataPointsCollectionView<T> : ObservableProjectedView<T>, IWeakEventListener<NotifyCollectionChangedEventArgs>, IDataPointsCollectionView<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged, INotifyItemChanged, IDisposable where T : SparkDataPoint, new()
Type Parameters
T
The type for the projected item. |
Constructors
DataPointsCollectionView(IEnumerable)
Initializes a new instance of the DataPointsCollectionView<T> class.
Declaration
public DataPointsCollectionView(IEnumerable sourceCollection)
Parameters
System.Collections.IEnumerable
sourceCollection
The source collection. |
Properties
XValuePath
Gets or sets the X value path.
Declaration
public string XValuePath { get; set; }
Property Value
System.String
The X value path. |
YValuePath
Gets or sets the Y value path.
Declaration
public string YValuePath { get; set; }
Property Value
System.String
The Y value path. |
Methods
OnItemAdded(T)
Called when a projected item is added.
Declaration
protected override void OnItemAdded(T addedItem)
Parameters
T
addedItem
The added item. |