iOS Guides | Samples

MonoTouch.UIKit.UICollectionViewDelegate_Extensions Class

Extension methods to the IUICollectionViewDelegate interface to support all the methods from the UICollectionViewDelegate protocol.

See Also: UICollectionViewDelegate_Extensions

Syntax

public static class UICollectionViewDelegate_Extensions

Remarks

The extension methods for IUICollectionViewDelegate allow developers to treat instances of the interface as having all the optional methods of the original UICollectionViewDelegate 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.UICollectionViewDelegate_Extensions are listed below.

See Also: Object

Public Methods

static
CanFocusItem(this IUICollectionViewDelegate, UICollectionView, NSIndexPath) : Boolean
Whether the item at indexPath can be focused.
static
CanPerformAction(this IUICollectionViewDelegate, UICollectionView, Selector, NSIndexPath, NSObject) : Boolean
Whether the cell at the specified indexPath supports the specified action.
static
CellDisplayingEnded(this IUICollectionViewDelegate, UICollectionView, UICollectionViewCell, NSIndexPath)
Indicates that the cell at the specified indexPath has been removed.
static
DidUpdateFocus(this IUICollectionViewDelegate, UICollectionView, UICollectionViewFocusUpdateContext, UIFocusAnimationCoordinator)
Indicates that the focus changed as detailed in the context.
static
GetIndexPathForPreferredFocusedView(this IUICollectionViewDelegate, UICollectionView) : NSIndexPath
When overridden, allows the developer to specify the item that should initially receive focus.
static
GetTargetContentOffset(this IUICollectionViewDelegate, UICollectionView, PointF) : PointF
When overridden, allows the developer to modify the content offset for layout and animation changes.
static
GetTargetIndexPathForMove(this IUICollectionViewDelegate, UICollectionView, NSIndexPath, NSIndexPath) : NSIndexPath
When overridden, allows the developer to modify the final location of a moved item. (For instance, to disallow a move to a particular proposedIndexPath.)
static
ItemDeselected(this IUICollectionViewDelegate, UICollectionView, NSIndexPath)
Indicates that the cell at the specified indexPath has been deselected.
static
ItemHighlighted(this IUICollectionViewDelegate, UICollectionView, NSIndexPath)
Indicates that the cell at the specified indexPath has been highlighted.
static
ItemSelected(this IUICollectionViewDelegate, UICollectionView, NSIndexPath)
Indicates that the cell at the specified indexPath has been selected.
static
ItemUnhighlighted(this IUICollectionViewDelegate, UICollectionView, NSIndexPath)
Indicates that the cell at the specified indexPath has been unhighlighted.
static
PerformAction(this IUICollectionViewDelegate, UICollectionView, Selector, NSIndexPath, NSObject)
Whether the cell at the specified indexPath supports the specified Copy or Paste action.
static
ShouldDeselectItem(this IUICollectionViewDelegate, UICollectionView, NSIndexPath) : Boolean
Whether the cell at the specified indexPath should allow itself to be deselected.
static
ShouldHighlightItem(this IUICollectionViewDelegate, UICollectionView, NSIndexPath) : Boolean
Whether the cell at the specified indexPath should allow itself to be highlighted.
static
ShouldSelectItem(this IUICollectionViewDelegate, UICollectionView, NSIndexPath) : Boolean
Whether the cell at the specified indexPath allows itself to be selected.
static
ShouldShowMenu(this IUICollectionViewDelegate, UICollectionView, NSIndexPath) : Boolean
Whether the cell at the specified indexPath should show an Action menu.
static
ShouldUpdateFocus(this IUICollectionViewDelegate, UICollectionView, UICollectionViewFocusUpdateContext) : Boolean
When overridden, allows the developer to prevent the focus change specified in context.
static
SupplementaryViewDisplayingEnded(this IUICollectionViewDelegate, UICollectionView, UICollectionReusableView, NSString, NSIndexPath)
Indicates that the supplementary view at the specified indexPath has been removed.
static
TransitionLayout(this IUICollectionViewDelegate, UICollectionView, UICollectionViewLayout, UICollectionViewLayout) : UICollectionViewTransitionLayout
The UICollectionViewTransitionLayout to be used when moving from the specified fromLayout to the toLayout.
static
WillDisplayCell(this IUICollectionViewDelegate, UICollectionView, UICollectionViewCell, NSIndexPath)
The cell is about to be displayed.
static
WillDisplaySupplementaryView(this IUICollectionViewDelegate, UICollectionView, UICollectionReusableView, String, NSIndexPath)
The supplementary view is about to be displayed.