UICollectionViewSource.GetViewForSupplementaryElement 方法

定义

检索用于指定 indexPath 处的 supplement 元素Kind 的 UICollectionReusableView。

[Foundation.Export("collectionView:viewForSupplementaryElementOfKind:atIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UICollectionReusableView GetViewForSupplementaryElement (UIKit.UICollectionView collectionView, Foundation.NSString elementKind, Foundation.NSIndexPath indexPath);
abstract member GetViewForSupplementaryElement : UIKit.UICollectionView * Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionReusableView
override this.GetViewForSupplementaryElement : UIKit.UICollectionView * Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionReusableView

参数

collectionView
UICollectionView

发起请求的集合视图。

elementKind
NSString
indexPath
NSIndexPath

返回

属性

适用于