共用方式為


UICollectionViewLayout.GetInvalidationContextForBoundsChange(CGRect) 方法

定義

會傳回 UICollectionViewLayoutInvalidationCoNtext,指定配置中變更的部分,以回應界限中的變更。

[Foundation.Export("invalidationContextForBoundsChange:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UICollectionViewLayoutInvalidationContext GetInvalidationContextForBoundsChange (CoreGraphics.CGRect newBounds);
abstract member GetInvalidationContextForBoundsChange : CoreGraphics.CGRect -> UIKit.UICollectionViewLayoutInvalidationContext
override this.GetInvalidationContextForBoundsChange : CoreGraphics.CGRect -> UIKit.UICollectionViewLayoutInvalidationContext

參數

newBounds
CGRect

傳回

屬性

適用於