UICollectionViewLayoutInvalidationContext.InvalidateItems 方法

定义

将指定索引路径中的单元格添加到无效项列表。

[Foundation.Export("invalidateItemsAtIndexPaths:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void InvalidateItems (Foundation.NSIndexPath[] indexPaths);
abstract member InvalidateItems : Foundation.NSIndexPath[] -> unit
override this.InvalidateItems : Foundation.NSIndexPath[] -> unit

参数

indexPaths
NSIndexPath[]

索引路径对象的数组。

属性

注解

调用此项可识别布局中需要更新的特定单元格。

适用于