UICollectionView.StartInteractiveTransitionAsync UICollectionView.StartInteractiveTransitionAsync Method

Definition

Overloads

StartInteractiveTransitionAsync(UICollectionViewLayout) StartInteractiveTransitionAsync(UICollectionViewLayout)

Changes the UICollectionView's layout using an interactive transition.

StartInteractiveTransitionAsync(UICollectionViewLayout, UICollectionViewTransitionLayout) StartInteractiveTransitionAsync(UICollectionViewLayout, UICollectionViewTransitionLayout)

Asynchronously starts an interactive transition to the new layout, with a reference to the result.

StartInteractiveTransitionAsync(UICollectionViewLayout) StartInteractiveTransitionAsync(UICollectionViewLayout)

Changes the UICollectionView's layout using an interactive transition.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<UIKit.UICollectionViewTransitionResult> StartInteractiveTransitionAsync (UIKit.UICollectionViewLayout newCollectionViewLayout);
abstract member StartInteractiveTransitionAsync : UIKit.UICollectionViewLayout -> System.Threading.Tasks.Task<UIKit.UICollectionViewTransitionResult>
override this.StartInteractiveTransitionAsync : UIKit.UICollectionViewLayout -> System.Threading.Tasks.Task<UIKit.UICollectionViewTransitionResult>

Parameters

newCollectionViewLayout
UICollectionViewLayout UICollectionViewLayout

The new layout object for the collected views.

Returns

StartInteractiveTransitionAsync(UICollectionViewLayout, UICollectionViewTransitionLayout) StartInteractiveTransitionAsync(UICollectionViewLayout, UICollectionViewTransitionLayout)

Asynchronously starts an interactive transition to the new layout, with a reference to the result.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<UIKit.UICollectionViewTransitionResult> StartInteractiveTransitionAsync (UIKit.UICollectionViewLayout newCollectionViewLayout, out UIKit.UICollectionViewTransitionLayout result);
abstract member StartInteractiveTransitionAsync : UIKit.UICollectionViewLayout *  -> System.Threading.Tasks.Task<UIKit.UICollectionViewTransitionResult>
override this.StartInteractiveTransitionAsync : UIKit.UICollectionViewLayout *  -> System.Threading.Tasks.Task<UIKit.UICollectionViewTransitionResult>

Parameters

newCollectionViewLayout
UICollectionViewLayout UICollectionViewLayout

The new layout object for the collected views.

result
UICollectionViewTransitionLayout UICollectionViewTransitionLayout

Action executed when the layout transition finishes.

Returns

Applies to