Op Englesch liesen Editéieren

Deelen iwwer


UICollectionViewDelegate_Extensions.GetTargetIndexPathForMove Method

Definition

When overridden, allows the developer to modify the final location of a moved item. (For instance, to disallow a move to a particular proposedIndexPath.)

C#
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSIndexPath GetTargetIndexPathForMove(this UIKit.IUICollectionViewDelegate This, UIKit.UICollectionView collectionView, Foundation.NSIndexPath originalIndexPath, Foundation.NSIndexPath proposedIndexPath);

Parameters

This
IUICollectionViewDelegate

The instance on which this extension method operates.

collectionView
UICollectionView

The collection view that originated the request.

originalIndexPath
NSIndexPath
proposedIndexPath
NSIndexPath

Returns

Attributes

Applies to

Produkt Versiounen
Xamarin iOS SDK 12