共用方式為


UICollectionViewDelegate.WillDisplaySupplementaryView 方法

定義

補充 view 即將顯示。

[Foundation.Export("collectionView:willDisplaySupplementaryView:forElementKind:atIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 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
屬性

適用於