編輯

共用方式為


UICollectionViewLayoutInvalidationContext.ContentSizeAdjustment Property

Definition

Delta value that is applied to the content size of a collection view.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGSize ContentSizeAdjustment { [Foundation.Export("contentSizeAdjustment")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setContentSizeAdjustment:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.ContentSizeAdjustment : CoreGraphics.CGSize with get, set

Property Value

Default set to zero. Altering the value causes a collection view to add specified height and width values to the content size property.

Attributes

Applies to