Share via


UICollectionViewSource.TransitionLayout Method

Definition

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

[Foundation.Export("collectionView:transitionLayoutForOldLayout:newLayout:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UICollectionViewTransitionLayout TransitionLayout(UIKit.UICollectionView collectionView, UIKit.UICollectionViewLayout fromLayout, UIKit.UICollectionViewLayout toLayout);
[<Foundation.Export("collectionView:transitionLayoutForOldLayout:newLayout:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member TransitionLayout : UIKit.UICollectionView * UIKit.UICollectionViewLayout * UIKit.UICollectionViewLayout -> UIKit.UICollectionViewTransitionLayout
override this.TransitionLayout : UIKit.UICollectionView * UIKit.UICollectionViewLayout * UIKit.UICollectionViewLayout -> UIKit.UICollectionViewTransitionLayout

Parameters

collectionView
UICollectionView

The collection view that originated the request.

Returns

Implements

Attributes

Applies to