共用方式為


UICollectionViewLayout.LayoutAttributesForSupplementaryView 方法

定義

多載

LayoutAttributesForSupplementaryView(UICollectionElementKindSection, NSIndexPath)

位於指定 indexPath 之增補檢視的屬性。

LayoutAttributesForSupplementaryView(NSString, NSIndexPath)

指定增補檢視的 UICollectionViewLayoutAttributes。

LayoutAttributesForSupplementaryView(UICollectionElementKindSection, NSIndexPath)

位於指定 indexPath 之增補檢視的屬性。

public UIKit.UICollectionViewLayoutAttributes LayoutAttributesForSupplementaryView (UIKit.UICollectionElementKindSection section, Foundation.NSIndexPath indexPath);
member this.LayoutAttributesForSupplementaryView : UIKit.UICollectionElementKindSection * Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes

參數

indexPath
NSIndexPath

傳回

適用於

LayoutAttributesForSupplementaryView(NSString, NSIndexPath)

指定增補檢視的 UICollectionViewLayoutAttributes。

[Foundation.Export("layoutAttributesForSupplementaryViewOfKind:atIndexPath:")]
public virtual UIKit.UICollectionViewLayoutAttributes LayoutAttributesForSupplementaryView (Foundation.NSString kind, Foundation.NSIndexPath indexPath);
abstract member LayoutAttributesForSupplementaryView : Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes
override this.LayoutAttributesForSupplementaryView : Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes

參數

kind
NSString
indexPath
NSIndexPath

傳回

屬性

適用於