共用方式為


UICollectionViewLayout.GetInvalidationContext 方法

定義

取得從 originalAttributes 變更為 preferredAttributes 的無效區域。

[Foundation.Export("invalidationContextForPreferredLayoutAttributes:withOriginalAttributes:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UICollectionViewLayoutInvalidationContext GetInvalidationContext (UIKit.UICollectionViewLayoutAttributes preferredAttributes, UIKit.UICollectionViewLayoutAttributes originalAttributes);
abstract member GetInvalidationContext : UIKit.UICollectionViewLayoutAttributes * UIKit.UICollectionViewLayoutAttributes -> UIKit.UICollectionViewLayoutInvalidationContext
override this.GetInvalidationContext : UIKit.UICollectionViewLayoutAttributes * UIKit.UICollectionViewLayoutAttributes -> UIKit.UICollectionViewLayoutInvalidationContext

參數

preferredAttributes
UICollectionViewLayoutAttributes

傳回

屬性

適用於