UICollectionView.DequeueReusableSupplementaryView Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DequeueReusableSupplementaryView(UICollectionElementKindSection, String, NSIndexPath) |
Returns a UICollectionReusableView. |
DequeueReusableSupplementaryView(UICollectionElementKindSection, NSString, NSIndexPath) |
Returns a newly-allocated or reused supplementary UICollectionReusableView. |
DequeueReusableSupplementaryView(NSString, NSString, NSIndexPath) |
Returns a newly-allocated or reused supplementary UICollectionReusableView. |
DequeueReusableSupplementaryView(NSString, String, NSIndexPath) |
Returns a UICollectionReusableView. |
DequeueReusableSupplementaryView(UICollectionElementKindSection, String, NSIndexPath)
Returns a UICollectionReusableView.
public UIKit.UICollectionReusableView DequeueReusableSupplementaryView (UIKit.UICollectionElementKindSection kind, string reuseIdentifier, Foundation.NSIndexPath indexPath);
member this.DequeueReusableSupplementaryView : UIKit.UICollectionElementKindSection * string * Foundation.NSIndexPath -> UIKit.UICollectionReusableView
Parameters
- reuseIdentifier
- String
- indexPath
- NSIndexPath
Returns
Applies to
DequeueReusableSupplementaryView(UICollectionElementKindSection, NSString, NSIndexPath)
Returns a newly-allocated or reused supplementary UICollectionReusableView.
public Foundation.NSObject DequeueReusableSupplementaryView (UIKit.UICollectionElementKindSection section, Foundation.NSString reuseIdentifier, Foundation.NSIndexPath indexPath);
member this.DequeueReusableSupplementaryView : UIKit.UICollectionElementKindSection * Foundation.NSString * Foundation.NSIndexPath -> Foundation.NSObject
Parameters
- section
- UICollectionElementKindSection
A UICollectionElementKindSection specifying what kind of supplementary view is desired.
- reuseIdentifier
- NSString
- indexPath
- NSIndexPath
The NSIndexPath specifying the location of the supplementary view.
Returns
A supplementary UICollectionReusableView that is either newly allocated or recycled from the reuse queue..
Remarks
The application developer must have registered a class or nib file using either RegisterClassForSupplementaryView(Type, UICollectionElementKindSection, String) or RegisterNibForSupplementaryView(UINib, UICollectionElementKindSection, String) prior to calling this method.
If the T:UIKIt.UICollectionReusableView is not newly allocated but is being recycled, this method will call that cell's PrepareForReuse() method.
Applies to
DequeueReusableSupplementaryView(NSString, NSString, NSIndexPath)
Returns a newly-allocated or reused supplementary UICollectionReusableView.
[Foundation.Export("dequeueReusableSupplementaryViewOfKind:withReuseIdentifier:forIndexPath:")]
public virtual UIKit.UICollectionReusableView DequeueReusableSupplementaryView (Foundation.NSString kind, Foundation.NSString identifier, Foundation.NSIndexPath indexPath);
abstract member DequeueReusableSupplementaryView : Foundation.NSString * Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionReusableView
override this.DequeueReusableSupplementaryView : Foundation.NSString * Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionReusableView
Parameters
- kind
- NSString
A NSString specifying what kind of supplementary view is desired (e.g., "UICollectionElementKindSectionHeader").
- indexPath
- NSIndexPath
The NSIndexPath specifying the location of the supplementary view.
Returns
A supplementary UICollectionReusableView that is either newly allocated or recycled from the reuse queue.
- Attributes
Applies to
DequeueReusableSupplementaryView(NSString, String, NSIndexPath)
Returns a UICollectionReusableView.
public UIKit.UICollectionReusableView DequeueReusableSupplementaryView (Foundation.NSString kind, string reuseIdentifier, Foundation.NSIndexPath indexPath);
member this.DequeueReusableSupplementaryView : Foundation.NSString * string * Foundation.NSIndexPath -> UIKit.UICollectionReusableView
Parameters
- kind
- NSString
- reuseIdentifier
- String
- indexPath
- NSIndexPath