Class ChartBaseDataBindList
Abstract class that implements the basic functionality of the data binding.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public abstract class ChartBaseDataBindList
Constructors
ChartBaseDataBindList()
Initializes a new instance of the ChartBaseDataBindList class.
Declaration
public ChartBaseDataBindList()
ChartBaseDataBindList(Object, String)
Initializes a new instance of the ChartBaseDataBindList class.
Declaration
public ChartBaseDataBindList(object dataSource, string dataMember)
Parameters
Type | Name | Description |
---|---|---|
System.Object | dataSource | The data source. |
System.String | dataMember | The data member. |
ChartBaseDataBindList(Object, String, BindingContext)
Initializes a new instance of the ChartBaseDataBindList class.
Declaration
public ChartBaseDataBindList(object dataSource, string dataMember, BindingContext bindingContext)
Parameters
Type | Name | Description |
---|---|---|
System.Object | dataSource | The data source. |
System.String | dataMember | The data member. |
System.Windows.Forms.BindingContext | bindingContext | The binding context. |
Properties
BindingContext
Gets or sets the binding context.
Declaration
public BindingContext BindingContext { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Forms.BindingContext | The binding context. |
Count
Gets the count of data source.
Declaration
public virtual int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The count. |
DataMember
Gets or sets the data member to be bound.
Declaration
public string DataMember { get; set; }
Property Value
Type | Description |
---|---|
System.String | The data member. |
DataSource
Gets or sets the binding data source.
Declaration
public object DataSource { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The data source. |
Methods
DataBind()
Method used to refresh binding.
Declaration
public void DataBind()
Events
Changed
This event is raised when the data is changed.
Declaration
public event ListChangedEventHandler Changed
Event Type
Type |
---|
System.ComponentModel.ListChangedEventHandler |