net9.0-ios
namespace UIKit
{
    [Protocol(Name = "UICollectionViewDelegate", WrapperType = typeof(UICollectionViewDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ItemHighlighted", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, Selector = "collectionView:didHighlightItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ItemUnhighlighted", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, Selector = "collectionView:didUnhighlightItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ItemSelected", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, Selector = "collectionView:didSelectItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ItemDeselected", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, Selector = "collectionView:didDeselectItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillDisplayCell", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(UICollectionViewCell), typeof(NSIndexPath) }, Selector = "collectionView:willDisplayCell:forItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillDisplaySupplementaryView", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(UICollectionReusableView), typeof(string), typeof(NSIndexPath) }, Selector = "collectionView:willDisplaySupplementaryView:forElementKind:atIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CellDisplayingEnded", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(UICollectionViewCell), typeof(NSIndexPath) }, Selector = "collectionView:didEndDisplayingCell:forItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SupplementaryViewDisplayingEnded", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(UICollectionReusableView), typeof(NSString), typeof(NSIndexPath) }, Selector = "collectionView:didEndDisplayingSupplementaryView:forElementOfKind:atIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PerformAction", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(Selector), typeof(NSIndexPath), typeof(NSObject) }, Selector = "collectionView:performAction:forItemAtIndexPath:withSender:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidUpdateFocus", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(UICollectionViewFocusUpdateContext), typeof(UIFocusAnimationCoordinator) }, Selector = "collectionView:didUpdateFocusInContext:withAnimationCoordinator:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidBeginMultipleSelectionInteraction", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, Selector = "collectionView:didBeginMultipleSelectionInteractionAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidEndMultipleSelectionInteraction", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UICollectionView) }, Selector = "collectionViewDidEndMultipleSelectionInteraction:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillPerformPreviewAction", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(UIContextMenuConfiguration), typeof(IUIContextMenuInteractionCommitAnimating) }, Selector = "collectionView:willPerformPreviewActionForMenuWithConfiguration:animator:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillDisplayContextMenu", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(UIContextMenuConfiguration), typeof(IUIContextMenuInteractionAnimating) }, Selector = "collectionView:willDisplayContextMenuWithConfiguration:animator:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillEndContextMenuInteraction", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(UIContextMenuConfiguration), typeof(IUIContextMenuInteractionAnimating) }, Selector = "collectionView:willEndContextMenuInteractionWithConfiguration:animator:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PerformPrimaryActionForItem", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, Selector = "collectionView:performPrimaryActionForItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldHighlightItem", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, ReturnType = typeof(bool), Selector = "collectionView:shouldHighlightItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldSelectItem", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, ReturnType = typeof(bool), Selector = "collectionView:shouldSelectItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldDeselectItem", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, ReturnType = typeof(bool), Selector = "collectionView:shouldDeselectItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldShowMenu", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, ReturnType = typeof(bool), Selector = "collectionView:shouldShowMenuForItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CanPerformAction", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(Selector), typeof(NSIndexPath), typeof(NSObject) }, ReturnType = typeof(bool), Selector = "collectionView:canPerformAction:forItemAtIndexPath:withSender:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "TransitionLayout", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(UICollectionViewLayout), typeof(UICollectionViewLayout) }, ReturnType = typeof(UICollectionViewTransitionLayout), Selector = "collectionView:transitionLayoutForOldLayout:newLayout:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetTargetIndexPathForMove", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath), typeof(NSIndexPath) }, ReturnType = typeof(NSIndexPath), Selector = "collectionView:targetIndexPathForMoveFromItemAtIndexPath:toProposedIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetTargetContentOffset", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(CGPoint) }, ReturnType = typeof(CGPoint), Selector = "collectionView:targetContentOffsetForProposedContentOffset:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CanEditItem", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, ReturnType = typeof(bool), Selector = "collectionView:canEditItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CanFocusItem", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, ReturnType = typeof(bool), Selector = "collectionView:canFocusItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldUpdateFocus", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(UICollectionViewFocusUpdateContext) }, ReturnType = typeof(bool), Selector = "collectionView:shouldUpdateFocusInContext:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetIndexPathForPreferredFocusedView", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UICollectionView) }, ReturnType = typeof(NSIndexPath), Selector = "indexPathForPreferredFocusedViewInCollectionView:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetSelectionFollowsFocusForItem", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, ReturnType = typeof(bool), Selector = "collectionView:selectionFollowsFocusForItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetTargetIndexPathForMoveOfItemFromOriginalIndexPath", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath), typeof(NSIndexPath), typeof(NSIndexPath) }, ReturnType = typeof(NSIndexPath), Selector = "collectionView:targetIndexPathForMoveOfItemFromOriginalIndexPath:atCurrentIndexPath:toProposedIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldSpringLoadItem", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath), typeof(IUISpringLoadedInteractionContext) }, ReturnType = typeof(bool), Selector = "collectionView:shouldSpringLoadItemAtIndexPath:withContext:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldBeginMultipleSelectionInteraction", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, ReturnType = typeof(bool), Selector = "collectionView:shouldBeginMultipleSelectionInteractionAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetContextMenuConfiguration", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath), typeof(CGPoint) }, ReturnType = typeof(UIContextMenuConfiguration), Selector = "collectionView:contextMenuConfigurationForItemAtIndexPath:point:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetPreviewForHighlightingContextMenu", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(UIContextMenuConfiguration) }, ReturnType = typeof(UITargetedPreview), Selector = "collectionView:previewForHighlightingContextMenuWithConfiguration:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetPreviewForDismissingContextMenu", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(UIContextMenuConfiguration) }, ReturnType = typeof(UITargetedPreview), Selector = "collectionView:previewForDismissingContextMenuWithConfiguration:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetSceneActivationConfigurationForItem", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath), typeof(CGPoint) }, ReturnType = typeof(UIWindowSceneActivationConfiguration), Selector = "collectionView:sceneActivationConfigurationForItemAtIndexPath:point:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CanPerformPrimaryActionForItem", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, ReturnType = typeof(bool), Selector = "collectionView:canPerformPrimaryActionForItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetContextMenuConfiguration", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath[]), typeof(CGPoint) }, ReturnType = typeof(UIContextMenuConfiguration), Selector = "collectionView:contextMenuConfigurationForItemsAtIndexPaths:point:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetContextMenuConfigurationHighlightPreview", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(UIContextMenuConfiguration), typeof(NSIndexPath) }, ReturnType = typeof(UITargetedPreview), Selector = "collectionView:contextMenuConfiguration:highlightPreviewForItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetContextMenuConfigurationDismissalPreview", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(UIContextMenuConfiguration), typeof(NSIndexPath) }, ReturnType = typeof(UITargetedPreview), Selector = "collectionView:contextMenuConfiguration:dismissalPreviewForItemAtIndexPath:")]
    [SupportedOSPlatform("maccatalyst")]
    [SupportedOSPlatform("ios")]
    [SupportedOSPlatform("tvos")]
    public interface IUICollectionViewDelegate : INativeObject, IDisposable, IUIScrollViewDelegate
}
nuget.org
0.0 %
Reference this API
0.0 %
Derive from this class or interface
Assembly Microsoft.iOS , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065
Help Documentation
.NET 6.0-ios6.0-maccatalyst6.0-tvos7.0-ios7.0-maccatalyst7.0-tvos8.0-ios8.0-maccatalyst8.0-tvos9.0-ios9.0-maccatalyst9.0-tvos
OS Platforms

For the selected framework this API is only supported on the following OS platforms:

  • iOS
  • Mac Catalyst
  • tvOS
  • Built-in API
  • Package-provided API

04/25/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙