Class
SparkBindingSource

Definition

Namespace:Telerik.WinControls.UI.Sparkline

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class SparkBindingSource : BindingSource, IComponent, IDisposable, IBindingListView, IBindingList, IList, ICollection, IEnumerable, ITypedList, ICancelAddNew, ISupportInitializeNotification, ISupportInitialize, ICurrencyManagerProvider

Inheritance: objectMarshalByRefObjectComponentBindingSourceSparkBindingSource

Implements: IBindingListIBindingListViewICancelAddNewICollectionIComponentICurrencyManagerProviderIDisposableIEnumerableIListISupportInitializeISupportInitializeNotificationITypedList

Inherited Members BindingSource.GetRelatedCurrencyManager(string)BindingSource.CancelEdit()BindingSource.Dispose(bool)BindingSource.EndEdit()BindingSource.Find(string, object)BindingSource.MoveFirst()BindingSource.MoveLast()BindingSource.MoveNext()BindingSource.MovePrevious()BindingSource.OnAddingNew(AddingNewEventArgs)BindingSource.OnBindingComplete(BindingCompleteEventArgs)BindingSource.OnCurrentChanged(EventArgs)BindingSource.OnCurrentItemChanged(EventArgs)BindingSource.OnDataError(BindingManagerDataErrorEventArgs)BindingSource.OnDataMemberChanged(EventArgs)BindingSource.OnDataSourceChanged(EventArgs)BindingSource.OnPositionChanged(EventArgs)BindingSource.RemoveCurrent()BindingSource.ResetAllowNew()BindingSource.ResetBindings(bool)BindingSource.ResetCurrentItem()BindingSource.ResetItem(int)BindingSource.ResumeBinding()BindingSource.SuspendBinding()BindingSource.GetEnumerator()BindingSource.CopyTo(Array, int)BindingSource.Add(object)BindingSource.Clear()BindingSource.Contains(object)BindingSource.IndexOf(object)BindingSource.Insert(int, object)BindingSource.Remove(object)BindingSource.RemoveAt(int)BindingSource.GetListName(PropertyDescriptor[])BindingSource.GetItemProperties(PropertyDescriptor[])BindingSource.AddNew()BindingSource.Find(PropertyDescriptor, object)BindingSource.RemoveSort()BindingSource.RemoveFilter()BindingSource.CurrencyManagerBindingSource.CurrentBindingSource.DataMemberBindingSource.DataSourceBindingSource.IsBindingSuspendedBindingSource.ListBindingSource.PositionBindingSource.RaiseListChangedEventsBindingSource.SortBindingSource.CountBindingSource.IsSynchronizedBindingSource.SyncRootBindingSource.this[int]BindingSource.IsFixedSizeBindingSource.IsReadOnlyBindingSource.AllowEditBindingSource.AllowNewBindingSource.AllowRemoveBindingSource.SupportsChangeNotificationBindingSource.SupportsSearchingBindingSource.SupportsSortingBindingSource.IsSortedBindingSource.FilterBindingSource.SupportsAdvancedSortingBindingSource.SupportsFilteringBindingSource.AddingNewBindingSource.BindingCompleteBindingSource.DataErrorBindingSource.DataSourceChangedBindingSource.DataMemberChangedBindingSource.CurrentChangedBindingSource.CurrentItemChangedBindingSource.ListChangedBindingSource.PositionChangedComponent.Dispose()Component.GetService(Type)Component.ToString()Component.CanRaiseEventsComponent.EventsComponent.SiteComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)

Constructors

SparkBindingSource(SparkDataPointCollection)

Initializes a new instance of the SparkBindingSource class.

Declaration

cs-api-definition
public SparkBindingSource(SparkDataPointCollection points)

Parameters

points

SparkDataPointCollection

The points.

Properties

DisplayMember

Gets or sets the display member.

Declaration

cs-api-definition
[Browsable(true)]
public string DisplayMember { get; set; }

Property Value

string

The display member.

Methods

Bind(string, int)

Binds the specified name.

Declaration

cs-api-definition
public bool Bind(string name, int index)

Parameters

name

string

The name.

index

int

The index.

Returns

bool

GetDisplayValue(object)

Gets the display value.

Declaration

cs-api-definition
public object GetDisplayValue(object dataBoundItem)

Parameters

dataBoundItem

object

The data bound item.

Returns

object

InsertNew(int)

Inserts a new record at the specific index.

Declaration

cs-api-definition
public object InsertNew(int index)

Parameters

index

int

The index.

Returns

object

OnListChanged(ListChangedEventArgs)

Raises the ListChanged event.

Declaration

cs-api-definition
protected override void OnListChanged(ListChangedEventArgs e)

Parameters

e

ListChangedEventArgs

An EventArgs that contains the event data.

Overrides BindingSource.OnListChanged(ListChangedEventArgs)

ResetPoints()

Resets the points.

Declaration

cs-api-definition
public void ResetPoints()

UpdateDisplayIndex()

Updates the display index.

Declaration

cs-api-definition
public void UpdateDisplayIndex()