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


UICollectionViewController.GetCell(UICollectionView, NSIndexPath) Метод

Определение

Извлекает UICollectionViewCell по указанному индексу.

[Foundation.Export("collectionView:cellForItemAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UICollectionViewCell GetCell (UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
abstract member GetCell : UIKit.UICollectionView * Foundation.NSIndexPath -> UIKit.UICollectionViewCell
override this.GetCell : UIKit.UICollectionView * Foundation.NSIndexPath -> UIKit.UICollectionViewCell

Параметры

collectionView
UICollectionView

Представление коллекции, управляемое этим контроллером представления.

indexPath
NSIndexPath

Путь к индексу для затронутого элемента.

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

Объект UICollectionViewCell , управляемый этим контроллером представления.

Реализации

Атрибуты

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