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

返回

属性

适用于