IUICollectionViewSource IUICollectionViewSource Interface

Definition

Interface representing the required methods (if any) of the protocol UICollectionViewSource.

[Foundation.Protocol(IsInformal=true, Name="UICollectionViewSource", WrapperType=typeof(UIKit.UICollectionViewSourceWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUICollectionViewSource : IDisposable, UIKit.IUICollectionViewDataSource, UIKit.IUICollectionViewDelegate
type IUICollectionViewSource = interface
    interface INativeObject
    interface IDisposable
    interface IUICollectionViewDataSource
    interface IUICollectionViewDelegate
    interface IUIScrollViewDelegate
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UICollectionViewSource.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UICollectionViewSource protocol.

Optional methods (if any) are provided by the UICollectionViewDataSource_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

GetCell(UICollectionView, NSIndexPath) GetCell(UICollectionView, NSIndexPath)

Gets a cell.

(Inherited from IUICollectionViewDataSource)

GetItemsCount(UICollectionView, nint) GetItemsCount(UICollectionView, nint)

The number of items in the specified section.

(Inherited from IUICollectionViewDataSource)

Extension Methods

CanMoveItem(IUICollectionViewDataSource, UICollectionView, NSIndexPath) CanMoveItem(IUICollectionViewDataSource, UICollectionView, NSIndexPath)
GetIndexPath(IUICollectionViewDataSource, UICollectionView, String, nint) GetIndexPath(IUICollectionViewDataSource, UICollectionView, String, nint)

Requests the index path for the item in the collection view at the specified index with the specified title.

GetIndexTitles(IUICollectionViewDataSource, UICollectionView) GetIndexTitles(IUICollectionViewDataSource, UICollectionView)

Requests the index titles for the items in the specified collection view.

GetViewForSupplementaryElement(IUICollectionViewDataSource, UICollectionView, NSString, NSIndexPath) GetViewForSupplementaryElement(IUICollectionViewDataSource, UICollectionView, NSString, NSIndexPath)

The reusable view used for the supplementary element at the specified indexPath.

MoveItem(IUICollectionViewDataSource, UICollectionView, NSIndexPath, NSIndexPath) MoveItem(IUICollectionViewDataSource, UICollectionView, NSIndexPath, NSIndexPath)
NumberOfSections(IUICollectionViewDataSource, UICollectionView) NumberOfSections(IUICollectionViewDataSource, UICollectionView)

The number of sections in this UICollectionViewDataSource.

CanFocusItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath) CanFocusItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

Whether the item at indexPath can be focused.

CanPerformAction(IUICollectionViewDelegate, UICollectionView, Selector, NSIndexPath, NSObject) CanPerformAction(IUICollectionViewDelegate, UICollectionView, Selector, NSIndexPath, NSObject)

Whether the cell at the specified indexPath supports the specified action.

CellDisplayingEnded(IUICollectionViewDelegate, UICollectionView, UICollectionViewCell, NSIndexPath) CellDisplayingEnded(IUICollectionViewDelegate, UICollectionView, UICollectionViewCell, NSIndexPath)

Indicates that the cell at the specified indexPath has been removed.

DidUpdateFocus(IUICollectionViewDelegate, UICollectionView, UICollectionViewFocusUpdateContext, UIFocusAnimationCoordinator) DidUpdateFocus(IUICollectionViewDelegate, UICollectionView, UICollectionViewFocusUpdateContext, UIFocusAnimationCoordinator)

Indicates that the focus changed as detailed in the context.

GetIndexPathForPreferredFocusedView(IUICollectionViewDelegate, UICollectionView) GetIndexPathForPreferredFocusedView(IUICollectionViewDelegate, UICollectionView)

When overridden, allows the developer to specify the item that should initially receive focus.

GetTargetContentOffset(IUICollectionViewDelegate, UICollectionView, CGPoint) GetTargetContentOffset(IUICollectionViewDelegate, UICollectionView, CGPoint)

When overridden, allows the developer to modify the content offset for layout and animation changes.

GetTargetIndexPathForMove(IUICollectionViewDelegate, UICollectionView, NSIndexPath, NSIndexPath) GetTargetIndexPathForMove(IUICollectionViewDelegate, UICollectionView, 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.)

ItemDeselected(IUICollectionViewDelegate, UICollectionView, NSIndexPath) ItemDeselected(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

Indicates that the cell at the specified indexPath has been deselected.

ItemHighlighted(IUICollectionViewDelegate, UICollectionView, NSIndexPath) ItemHighlighted(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

Indicates that the cell at the specified indexPath has been highlighted.

ItemSelected(IUICollectionViewDelegate, UICollectionView, NSIndexPath) ItemSelected(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

Indicates that the cell at the specified indexPath has been selected.

ItemUnhighlighted(IUICollectionViewDelegate, UICollectionView, NSIndexPath) ItemUnhighlighted(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

Indicates that the cell at the specified indexPath has been unhighlighted.

PerformAction(IUICollectionViewDelegate, UICollectionView, Selector, NSIndexPath, NSObject) PerformAction(IUICollectionViewDelegate, UICollectionView, Selector, NSIndexPath, NSObject)

Whether the cell at the specified indexPath supports the specified Copy or Paste action.

ShouldDeselectItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath) ShouldDeselectItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

Whether the cell at the specified indexPath should allow itself to be deselected.

ShouldHighlightItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath) ShouldHighlightItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

Whether the cell at the specified indexPath should allow itself to be highlighted.

ShouldSelectItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath) ShouldSelectItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

Whether the cell at the specified indexPath allows itself to be selected.

ShouldShowMenu(IUICollectionViewDelegate, UICollectionView, NSIndexPath) ShouldShowMenu(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

Whether the cell at the specified indexPath should show an Action menu.

ShouldSpringLoadItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath, IUISpringLoadedInteractionContext) ShouldSpringLoadItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath, IUISpringLoadedInteractionContext)

Method that is called to indicate whether the identified item should springload in the specified context.

ShouldUpdateFocus(IUICollectionViewDelegate, UICollectionView, UICollectionViewFocusUpdateContext) ShouldUpdateFocus(IUICollectionViewDelegate, UICollectionView, UICollectionViewFocusUpdateContext)

When overridden, allows the developer to prevent the focus change specified in context.

SupplementaryViewDisplayingEnded(IUICollectionViewDelegate, UICollectionView, UICollectionReusableView, NSString, NSIndexPath) SupplementaryViewDisplayingEnded(IUICollectionViewDelegate, UICollectionView, UICollectionReusableView, NSString, NSIndexPath)

Indicates that the supplementary view at the specified indexPath has been removed.

TransitionLayout(IUICollectionViewDelegate, UICollectionView, UICollectionViewLayout, UICollectionViewLayout) TransitionLayout(IUICollectionViewDelegate, UICollectionView, UICollectionViewLayout, UICollectionViewLayout)

The UICollectionViewTransitionLayout to be used when moving from the specified fromLayout to the toLayout.

WillDisplayCell(IUICollectionViewDelegate, UICollectionView, UICollectionViewCell, NSIndexPath) WillDisplayCell(IUICollectionViewDelegate, UICollectionView, UICollectionViewCell, NSIndexPath)

The cell is about to be displayed.

WillDisplaySupplementaryView(IUICollectionViewDelegate, UICollectionView, UICollectionReusableView, String, NSIndexPath) WillDisplaySupplementaryView(IUICollectionViewDelegate, UICollectionView, UICollectionReusableView, String, NSIndexPath)

The supplementary view is about to be displayed.

DecelerationEnded(IUIScrollViewDelegate, UIScrollView) DecelerationEnded(IUIScrollViewDelegate, UIScrollView)

Indicates that deceleration relating to a scroll event has ended.

DecelerationStarted(IUIScrollViewDelegate, UIScrollView) DecelerationStarted(IUIScrollViewDelegate, UIScrollView)

Indicates that deceleration of a scrolling event has begun.

DidChangeAdjustedContentInset(IUIScrollViewDelegate, UIScrollView) DidChangeAdjustedContentInset(IUIScrollViewDelegate, UIScrollView)

Method that is called when the inset values change.

DidZoom(IUIScrollViewDelegate, UIScrollView) DidZoom(IUIScrollViewDelegate, UIScrollView)

Indicates that the specified scrollView has zoomed.

DraggingEnded(IUIScrollViewDelegate, UIScrollView, Boolean) DraggingEnded(IUIScrollViewDelegate, UIScrollView, Boolean)

Indicates that dragging has completed.

DraggingStarted(IUIScrollViewDelegate, UIScrollView) DraggingStarted(IUIScrollViewDelegate, UIScrollView)

Indicates that dragging has begun.

ScrollAnimationEnded(IUIScrollViewDelegate, UIScrollView) ScrollAnimationEnded(IUIScrollViewDelegate, UIScrollView)

Indicates that all animations relating to scrolling have completed.

Scrolled(IUIScrollViewDelegate, UIScrollView) Scrolled(IUIScrollViewDelegate, UIScrollView)

Indicates that the specified scrollView has scrolled.

ScrolledToTop(IUIScrollViewDelegate, UIScrollView) ScrolledToTop(IUIScrollViewDelegate, UIScrollView)

Indicates that the specified scrollView's scrolling has ended at the top.

ShouldScrollToTop(IUIScrollViewDelegate, UIScrollView) ShouldScrollToTop(IUIScrollViewDelegate, UIScrollView)

Whether a scroll to the beginning of the scrollView should be permitted.

ViewForZoomingInScrollView(IUIScrollViewDelegate, UIScrollView) ViewForZoomingInScrollView(IUIScrollViewDelegate, UIScrollView)

The UIView to scale when zooming is requested.

WillEndDragging(IUIScrollViewDelegate, UIScrollView, CGPoint, CGPoint) WillEndDragging(IUIScrollViewDelegate, UIScrollView, CGPoint, CGPoint)

Indicates that dragging is about to end.

ZoomingEnded(IUIScrollViewDelegate, UIScrollView, UIView, nfloat) ZoomingEnded(IUIScrollViewDelegate, UIScrollView, UIView, nfloat)

Indicates that zooming has completed.

ZoomingStarted(IUIScrollViewDelegate, UIScrollView, UIView) ZoomingStarted(IUIScrollViewDelegate, UIScrollView, UIView)

Indicates that zooming has begun.

Applies to