Show / Hide Table of Contents

Interface DataSourceUpdateNotifier

Represents the events that a data source can notify consumers about.

Namespace: IgniteUI.Blazor.Controls
Assembly: IgniteUI.Blazor.dll
Syntax
public interface DataSourceUpdateNotifier

Methods

NotifyClearItems()

Declaration
void NotifyClearItems()

NotifyClearItemsAsync()

Called when a large change occurs in the data source, or the content of the data source has been cleared.

Declaration
Task NotifyClearItemsAsync()
Returns
Type Description
System.Threading.Tasks.Task

NotifyInsertItem(Int32, Object)

Declaration
void NotifyInsertItem(int index, object newItem)
Parameters
Type Name Description
System.Int32 index
System.Object newItem

NotifyInsertItemAsync(Int32, Object)

Declaration
Task NotifyInsertItemAsync(int index, object newItem)
Parameters
Type Name Description
System.Int32 index
System.Object newItem
Returns
Type Description
System.Threading.Tasks.Task

NotifyRemoveItem(Int32, Object)

Declaration
void NotifyRemoveItem(int index, object oldItem)
Parameters
Type Name Description
System.Int32 index
System.Object oldItem

NotifyRemoveItemAsync(Int32, Object)

Declaration
Task NotifyRemoveItemAsync(int index, object oldItem)
Parameters
Type Name Description
System.Int32 index
System.Object oldItem
Returns
Type Description
System.Threading.Tasks.Task

NotifySetItem(Int32, Object, Object)

Declaration
void NotifySetItem(int index, object oldItem, object newItem)
Parameters
Type Name Description
System.Int32 index
System.Object oldItem
System.Object newItem

NotifySetItemAsync(Int32, Object, Object)

Declaration
Task NotifySetItemAsync(int index, object oldItem, object newItem)
Parameters
Type Name Description
System.Int32 index
System.Object oldItem
System.Object newItem
Returns
Type Description
System.Threading.Tasks.Task

RangeActualized(Int32, Int32)

Declaration
void RangeActualized(int startIndex, int endIndex)
Parameters
Type Name Description
System.Int32 startIndex
System.Int32 endIndex

RangeActualizedAsync(Int32, Int32)

Declaration
Task RangeActualizedAsync(int startIndex, int endIndex)
Parameters
Type Name Description
System.Int32 startIndex
System.Int32 endIndex
Returns
Type Description
System.Threading.Tasks.Task