Share via


UICollectionViewSource.WillDisplaySupplementaryView 方法

定义

即将显示补充 view

[Foundation.Export("collectionView:willDisplaySupplementaryView:forElementKind:atIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void WillDisplaySupplementaryView (UIKit.UICollectionView collectionView, UIKit.UICollectionReusableView view, string elementKind, Foundation.NSIndexPath indexPath);
abstract member WillDisplaySupplementaryView : UIKit.UICollectionView * UIKit.UICollectionReusableView * string * Foundation.NSIndexPath -> unit
override this.WillDisplaySupplementaryView : UIKit.UICollectionView * UIKit.UICollectionReusableView * string * Foundation.NSIndexPath -> unit

参数

collectionView
UICollectionView

发起请求的集合视图。

elementKind
String
indexPath
NSIndexPath
属性

适用于