Поделиться через


UICollectionViewSource.GetViewForSupplementaryElement Метод

Определение

Извлекает uiCollectionReusableView, используемый для дополнительного элементаKind по указанному indexPath.

[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

Возвращаемое значение

Атрибуты

Применяется к