IDataGridCollectionViewDeferRefresh 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) Version: 11.3.999
IDisposable DeferRefresh()

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