net9.0-ios17.2
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
.NET 6.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
iOS 10.010.110.210.311.011.111.211.311.412.012.112.212.312.413.013.113.213.313.413.513.614.014.114.214.314.414.515.015.215.416.016.116.216.417.017.2
Mac Catalyst 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2
tvOS 10.010.110.211.011.111.211.311.412.012.112.212.312.413.013.213.313.414.014.214.314.414.515.015.215.416.016.116.417.017.2
Information specific to net9.0-ios17.2
Assembly

Microsoft.iOS , Version=17.2.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

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

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