DeferRefresh Method
Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh.
Definition
Namespace: Avalonia.Collections
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)
- C#
- VB
- F#
IDisposable DeferRefresh()
Function DeferRefresh As IDisposable
abstract DeferRefresh : unit -> IDisposable
Return Value
IDisposable
The typical usage is to create a using scope with an implementation of this method and then include multiple view-changing calls within the scope. The implementation should delay automatic refresh until after the using scope exits.
See Also
Reference
IDataGridCollectionView Interface
Avalonia.Collections Namespace