iOS Guides | Samples

MonoTouch.UIKit.UICollectionViewDataSource_Extensions Class

Extension methods to the IUICollectionViewDataSource interface to support all the methods from the UICollectionViewDataSource protocol.

See Also: UICollectionViewDataSource_Extensions

Syntax

public static class UICollectionViewDataSource_Extensions

Remarks

The extension methods for IUICollectionViewDataSource allow developers to treat instances of the interface as having all the optional methods of the original UICollectionViewDataSource protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UICollectionViewDataSource_Extensions are listed below.

See Also: Object

Public Methods

static
CanMoveItem(this IUICollectionViewDataSource, UICollectionView, NSIndexPath) : Boolean
static
GetViewForSupplementaryElement(this IUICollectionViewDataSource, UICollectionView, NSString, NSIndexPath) : UICollectionReusableView
The reusable view used for the supplementary element at the specified indexPath.
static
MoveItem(this IUICollectionViewDataSource, UICollectionView, NSIndexPath, NSIndexPath)
static
NumberOfSections(this IUICollectionViewDataSource, UICollectionView) : Int32
The number of sections in this UICollectionViewDataSource.