UIKit.UICollectionView.SetCollectionViewLayoutAsync Method
Sets the layout used by this .

Syntax

public virtual System.Threading.Tasks.Task<bool> SetCollectionViewLayoutAsync (UICollectionViewLayout layout, bool animated)

Parameters

layout
The new .
animated
if the transition to the new layout should be animated.

Returns

A task that represents the asynchronous SetCollectionViewLayout operation. The value of the TResult parameter is a UIKit.UICompletionHandler.

Remarks

The SetCollectionViewLayoutAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0