Class
SparkDataPointCollection

Definition

Namespace:Telerik.WinControls.UI.Sparkline

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class SparkDataPointCollection : NotifyCollection<SparkDataPoint>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Inheritance: objectCollection<SparkDataPoint>NotifyCollection<SparkDataPoint>SparkDataPointCollection

Implements: ICollectionIEnumerableIListINotifyCollectionChangedINotifyPropertyChanged

Inherited Members NotifyCollection<SparkDataPoint>.EmptyNotifyCollection<SparkDataPoint>.Move(int, int)NotifyCollection<SparkDataPoint>.AddRange(params SparkDataPoint[])NotifyCollection<SparkDataPoint>.AddRange(IEnumerable<SparkDataPoint>)NotifyCollection<SparkDataPoint>.BeginUpdate()NotifyCollection<SparkDataPoint>.EndUpdate()NotifyCollection<SparkDataPoint>.DeferRefresh()NotifyCollection<SparkDataPoint>.SetItem(int, SparkDataPoint)NotifyCollection<SparkDataPoint>.RemoveItem(int)NotifyCollection<SparkDataPoint>.ClearItems()NotifyCollection<SparkDataPoint>.MoveItem(int, int)NotifyCollection<SparkDataPoint>.CreateEventArguments(NotifyCollectionChangedAction)NotifyCollection<SparkDataPoint>.CreateEventArguments(NotifyCollectionChangedAction, object, int)NotifyCollection<SparkDataPoint>.CreateEventArguments(NotifyCollectionChangedAction, object, object, int)NotifyCollection<SparkDataPoint>.OnCollectionChanged(NotifyCollectionChangedEventArgs)NotifyCollection<SparkDataPoint>.OnPropertyChanged(PropertyChangedEventArgs)NotifyCollection<SparkDataPoint>.OnPropertyChanged(string)NotifyCollection<SparkDataPoint>.VersionNotifyCollection<SparkDataPoint>.SuspendedNotifyCollection<SparkDataPoint>.CollectionChangedNotifyCollection<SparkDataPoint>.PropertyChangedCollection<SparkDataPoint>.Add(SparkDataPoint)Collection<SparkDataPoint>.Clear()Collection<SparkDataPoint>.CopyTo(SparkDataPoint[], int)Collection<SparkDataPoint>.Contains(SparkDataPoint)Collection<SparkDataPoint>.GetEnumerator()Collection<SparkDataPoint>.IndexOf(SparkDataPoint)Collection<SparkDataPoint>.Insert(int, SparkDataPoint)Collection<SparkDataPoint>.Remove(SparkDataPoint)Collection<SparkDataPoint>.RemoveAt(int)Collection<SparkDataPoint>.CountCollection<SparkDataPoint>.ItemsCollection<SparkDataPoint>.this[int]

Constructors

SparkDataPointCollection(SparkSeries)

Initializes a new instance of the SparkDataPointCollection class.

Declaration

cs-api-definition
public SparkDataPointCollection(SparkSeries owner)

Parameters

owner

SparkSeries

The owner.

Properties

BindingSource

Gets the binding source.

Declaration

cs-api-definition
public SparkBindingSource BindingSource { get; }

Property Value

SparkBindingSource

The binding source.

Owner

Gets the owner.

Declaration

cs-api-definition
public SparkSeries Owner { get; }

Property Value

SparkSeries

The owner.

Methods

Add(params double[])

Declaration

cs-api-definition
public void Add(params double[] value)

Parameters

value

double[]

CreateBindingSource()

Creates the binding source.

Declaration

cs-api-definition
protected virtual SparkBindingSource CreateBindingSource()

Returns

SparkBindingSource

EndUpdate(bool)

Ends the update.

Declaration

cs-api-definition
public override void EndUpdate(bool notify)

Parameters

notify

bool

The notify.

Overrides NotifyCollection<SparkDataPoint>.EndUpdate(bool)

Filter(ISparkDataPointFilter)

Declaration

cs-api-definition
public void Filter(ISparkDataPointFilter filterInterface)

Parameters

filterInterface

ISparkDataPointFilter

Find(object)

Finds the specified data bound item.

Declaration

cs-api-definition
public int Find(object dataBoundItem)

Parameters

dataBoundItem

object

The data bound item.

Returns

int

Get<T>(int)

Gets the data point at the specified index.

Declaration

cs-api-definition
public T Get<T>(int index) where T : SparkDataPoint

Parameters

index

int

The index.

Returns

T

InsertItem(int, SparkDataPoint)

Inserts the item.

Declaration

cs-api-definition
protected override void InsertItem(int index, SparkDataPoint item)

Parameters

index

int

The index.

item

SparkDataPoint

The item.

Overrides NotifyCollection<SparkDataPoint>.InsertItem(int, SparkDataPoint)

Sort(IComparer<SparkDataPoint>)

Declaration

cs-api-definition
public void Sort(IComparer<SparkDataPoint> comparer)

Parameters

comparer

IComparer<SparkDataPoint>