UICollectionView.StartInteractiveTransitionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
StartInteractiveTransitionAsync(UICollectionViewLayout) |
Changes the UICollectionView's layout using an interactive transition. |
StartInteractiveTransitionAsync(UICollectionViewLayout, UICollectionViewTransitionLayout) |
Asynchronously starts an interactive transition to the new layout, with a reference to the result. |
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
The new layout object for the collected views.
Returns
A task that represents the asynchronous StartInteractiveTransition(UICollectionViewLayout, UICollectionViewLayoutInteractiveTransitionCompletion) operation.
- Attributes
Applies to
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
The new layout object for the collected views.
Action executed when the layout transition finishes.
Returns
A task that represents the asynchronous StartInteractiveTransition(UICollectionViewLayout, UICollectionViewLayoutInteractiveTransitionCompletion) operation.
- Attributes