UICollectionViewController.TransitionLayout Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
UICollectionViewTransitionLayout, связанный с этим UIColllectionViewController.
[Foundation.Export("collectionView:transitionLayoutForOldLayout:newLayout:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UICollectionViewTransitionLayout TransitionLayout (UIKit.UICollectionView collectionView, UIKit.UICollectionViewLayout fromLayout, UIKit.UICollectionViewLayout toLayout);
abstract member TransitionLayout : UIKit.UICollectionView * UIKit.UICollectionViewLayout * UIKit.UICollectionViewLayout -> UIKit.UICollectionViewTransitionLayout
override this.TransitionLayout : UIKit.UICollectionView * UIKit.UICollectionViewLayout * UIKit.UICollectionViewLayout -> UIKit.UICollectionViewTransitionLayout
Параметры
- collectionView
- UICollectionView
Представление коллекции, управляемое этим контроллером представления.
- fromLayout
- UICollectionViewLayout
Начальная точка для указанного перехода, как правило, текущий макет для представления коллекции.
- toLayout
- UICollectionViewLayout
Новый макет представления коллекции.
Возвращаемое значение
Возвращает UICollectionViewTransitionLayout.
- Атрибуты