UICollectionView.PerformBatchUpdatesAsync(Action) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
应用并同时对 的 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的值为 。