Class PivotUpdatingManager
This class allows a PivotGridControl to automatically respond to changes in the underlying data. You can enable this support by setting EnableUpdating to true.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.PivotGrid
Assembly: Syncfusion.SfPivotGrid.UWP.dll
Syntax
public class PivotUpdatingManager : PivotEngineUpdatingManager, IDisposable
Remarks
In-order for the PivotGridControl to automatically respond to the changes in the underlying data, the underlying data must be either: A)an IList<T> where T implements both INotifyPropertyChanging and INotifyPropertyChanged. Additionally, the IList must also implement INotifyCollectionChanged or IBindingList.
Constructors
PivotUpdatingManager(SfPivotGrid)
Initializes a new instance of the PivotUpdatingManager class.
Declaration
public PivotUpdatingManager(SfPivotGrid grid)
Parameters
Type | Name | Description |
---|---|---|
SfPivotGrid | grid | The PivotGidControl that should be responding to updates. |
Properties
ThrottleUpdateRate
Gets or sets a millisecond value for time between UI refreshes. Zero indicates immediate refreshes of the UI without delays. Throttling the refresh rate can minimize CPU usage. The default value is zero, but depending upon your updating rate, values of 300 to 500 msecs may give lower CPU usage.
Declaration
public int ThrottleUpdateRate { set; }
Property Value
Type |
---|
System.Int32 |
Methods
CheckUpdateCell(Int32, Int32)
CheckUpdateCell method used to refresh the cell.
Declaration
protected override void CheckUpdateCell(int row, int col)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | row | The row index of the cell. |
System.Int32 | col | The column index of the cell. |
Overrides
Dispose(Boolean)
Unsubscribe to certain events that were subscribed to when this object was created.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Indicating whether to dispose or not. |
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. |