UICollectionView.PerformBatchUpdatesAsync(Action) 方法

定义

应用并同时对 的 UICollectionView多个操作进行动画处理。

public virtual System.Threading.Tasks.Task<bool> PerformBatchUpdatesAsync (Action updates);
abstract member PerformBatchUpdatesAsync : Action -> System.Threading.Tasks.Task<bool>
override this.PerformBatchUpdatesAsync : Action -> System.Threading.Tasks.Task<bool>

参数

updates
Action

指定要应用的更新的委托。

返回

表示异步 PerformBatchUpdates 操作的任务。 TResult 参数 UICompletionHandler的值为 。

适用于