Bearbeiten

Freigeben über


UICollectionViewController.WillDisplaySupplementaryView Method

Definition

Informs the delegate that the specified supplementary view is going to be displayed by the collection 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

Parameters

collectionView
UICollectionView

Collection view managed by this view controller.

view
UICollectionReusableView

The view that is to be added.

elementKind
String

Type for the supplementary view.

indexPath
NSIndexPath

Path for the data item represented by the supplementary view.

Attributes

Applies to