Class PivotChartUpdatingManager
This class allows a PivotChart to automatically respond to changes in the underlying data provided that data supports appropriate events. You enable this support by setting EnableUpdating property in PivotChart to true.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.PivotChart
Assembly: Syncfusion.PivotChart.Windows.dll
Syntax
[ComVisible(false)]
public class PivotChartUpdatingManager : PivotEngineUpdatingManager, IDisposable
Remarks
In order for the PivotChart to automatically respond to the changes in the underlying data, the underlying data must be either: A) a DataTable or DataView or B) an IList<T> where T implements both INotifyPropertyChanging and INotifyPropertyChanged. Additionally, the IList must also implement INotifyCollectionChanged or IBindingList."
Constructors
PivotChartUpdatingManager(PivotChart)
Initializes a new instance of the PivotUpdatingManager class with the specified PivotChart.
Declaration
public PivotChartUpdatingManager(PivotChart pivotChart)
Parameters
Type | Name | Description |
---|---|---|
PivotChart | pivotChart | The pivot chart control that should be responding to updates. |
Methods
Item_PropertyChanged(Object, PropertyChangedEventArgs)
Override this method to catch the previous values of an underlying object after a change is applied. This method is the default handler for the object's PropertyChanged event.
Declaration
protected override void Item_PropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The object that is changing. |
System.ComponentModel.PropertyChangedEventArgs | e | The System.ComponentModel.PropertyChangedEventArgscontains the event data. |
Overrides
UpdateRefreshHelper_CollectionChanged(Object, NotifyCollectionChangedEventArgs)
Override this method to control the response to a collection changed event for a list that implements the ICollectionChanged.
Declaration
protected override void UpdateRefreshHelper_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The ICollectionChanged collection. |
System.Collections.Specialized.NotifyCollectionChangedEventArgs | e | The System.Collections.Specialized.NotifyCollectionChangedEventArgscontains the event data. |
Overrides
UpdateRefreshHelper_ListChanged(Object, ListChangedEventArgs)
Override this method to control the response to a list changed event for a list that implements System.ComponentModel.IBindingList.
Declaration
protected override void UpdateRefreshHelper_ListChanged(object sender, ListChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The IBindingList. |
System.ComponentModel.ListChangedEventArgs | e | The System.ComponentModel.ListChangedEventArgscontains the event data. |