Class SparkBindingSource
Inheritance
Namespace: Telerik.WinControls.UI.Sparkline
Assembly: Telerik.WinControls.UI.dll
Syntax
public class SparkBindingSource : BindingSource
Constructors
SparkBindingSource(SparkDataPointCollection)
Initializes a new instance of the SparkBindingSource class.
Declaration
public SparkBindingSource(SparkDataPointCollection points)
Parameters
SparkDataPointCollection
points
The points. |
Properties
DisplayMember
Gets or sets the display member.
Declaration
public string DisplayMember { get; set; }
Property Value
System.String
The display member. |
Methods
Bind(String, Int32)
Binds the specified name.
Declaration
public bool Bind(string name, int index)
Parameters
System.String
name
The name. |
System.Int32
index
The index. |
Returns
System.Boolean
|
GetDisplayValue(Object)
Gets the display value.
Declaration
public object GetDisplayValue(object dataBoundItem)
Parameters
System.Object
dataBoundItem
The data bound item. |
Returns
System.Object
|
InsertNew(Int32)
Inserts a new record at the specific index.
Declaration
public object InsertNew(int index)
Parameters
System.Int32
index
The index. |
Returns
System.Object
|
OnListChanged(ListChangedEventArgs)
Raises the System.Windows.Forms.BindingSource.ListChanged event.
Declaration
protected override void OnListChanged(ListChangedEventArgs e)
Parameters
System.ComponentModel.ListChangedEventArgs
e
An System.EventArgs that contains the event data. |
ResetPoints()
Resets the points.
Declaration
public void ResetPoints()
UpdateDisplayIndex()
Updates the display index.
Declaration
public void UpdateDisplayIndex()