UICollectionViewTransitionLayout 类

定义

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

[Foundation.Register("UICollectionViewTransitionLayout", true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public class UICollectionViewTransitionLayout : UIKit.UICollectionViewLayout, IDisposable
type UICollectionViewTransitionLayout = class
    inherit UICollectionViewLayout
    interface INSCoding
    interface INativeObject
    interface IDisposable
继承
UICollectionViewTransitionLayout
属性
实现

注解

默认情况下,当 在一个布局和另一个布局之间转换时 UICollectionView ,对象的属性在 中的值 fromLayout 之间线性转换到 中的 toLayout值。 希望为 UICollectionView 提供更复杂的布局到布局转换的应用程序开发人员可以替代此类并提供自定义属性。

构造函数

UICollectionViewTransitionLayout()
已过时.

默认构造函数,初始化此类的新实例。

UICollectionViewTransitionLayout(IntPtr)

创建非托管对象的托管表示形式时使用的构造函数;由运行时调用。

UICollectionViewTransitionLayout(NSCoder)

从 unarchiver 对象中存储的数据初始化 对象的构造函数。

UICollectionViewTransitionLayout(NSObjectFlag)

在派生类上调用 的构造函数,以跳过初始化并仅分配 对象。

UICollectionViewTransitionLayout(UICollectionViewLayout, UICollectionViewLayout)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

属性

Class

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
ClassHandle

此类的句柄。

CollectionView

UICollectionViewUICollectionViewLayout布局的 。

(继承自 UICollectionViewLayout)
CollectionViewContentSize

此 UICollectionViewLayout 内容的 SizeF。

(继承自 UICollectionViewLayout)
CurrentLayout

活动 UICollectionViewLayout。

DebugDescription

此对象的开发人员有意义的说明。

(继承自 NSObject)
Description

对象的说明,即 ToString 的 Objective-C 版本。

(继承自 NSObject)
DevelopmentLayoutDirection

获取开发期间使用的语言方向。

(继承自 UICollectionViewLayout)
FlipsHorizontallyInOppositeLayoutDirection

获取一个布尔值,该值指示坐标系是否针对反向布局方向水平反转。

(继承自 UICollectionViewLayout)
Handle

处理指向非托管对象表示形式的 (指针) 。

(继承自 NSObject)
IsDirectBinding

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
IsProxy

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
NextLayout

UICollectionView 将转换到的 UICollectionViewLayout。

RetainCount

返回对象的当前 Objective-C 保留计数。

(继承自 NSObject)
Self

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
Superclass

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
SuperHandle

用于表示此 NSObject 基类中方法的句柄。

(继承自 NSObject)
TransitionProgress

完成百分比。

Zone

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)

方法

AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

使用 NSString keyPath) 注册一个对象,以便在外部 (观察到该对象。   观察到的更改将调度到观察者的 对象 ObserveValue(NSString, NSObject, NSDictionary, IntPtr) 方法。

(继承自 NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr)

使用字符串 keyPath) 注册一个对象,以便在外部 (观察到该对象。   观察到的更改将调度到观察者的 对象 ObserveValue(NSString, NSObject, NSDictionary, IntPtr) 方法。

(继承自 NSObject)
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>)

注册一个对象,以便使用任意方法在外部观察。

(继承自 NSObject)
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>)

注册一个对象,以便使用任意方法在外部观察。

(继承自 NSObject)
AwakeFromNib()

从 nib 文件加载对象后调用。 替代器必须调用 base。AwakeFromNib () 。

(继承自 NSObject)
BeginInvokeOnMainThread(Action)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

在主 UI 线程上异步调用指定的代码。

(继承自 NSObject)
Bind(NSString, NSObject, String, NSDictionary)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
Bind(String, NSObject, String, NSDictionary)
已过时.

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
BindingInfo(String)
已过时.

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
BindingOptionDescriptions(String)
已过时.

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
BindingValueClass(String)
已过时.

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
CommitEditing()

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
CommitEditing(NSObject, Selector, IntPtr)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
ConformsToProtocol(IntPtr)

调用以确定此对象是否实现指定的协议。

(继承自 NSObject)
Copy()

执行基础 Objective-C 对象的副本。

(继承自 NSObject)
DangerousAutorelease()

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
DangerousRelease()

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
DangerousRetain()

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
DidChange(NSKeyValueChange, NSIndexSet, NSString)

指示对多关系的索引发生了更改。

(继承自 NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
DidChangeValue(String)

指示对指定的键进行了更改。

(继承自 NSObject)
Dispose()

释放 NSObject 对象使用的资源。

(继承自 NSObject)
Dispose(Boolean)

释放 NSObject 对象使用的资源。

(继承自 NSObject)
DoesNotRecognizeSelector(Selector)

指示此对象无法识别指定的选择器。

(继承自 NSObject)
EncodeTo(NSCoder)

在提供的编码器上对对象的状态进行编码

Equals(NSObject)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
Equals(Object)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
ExposedBindings()

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
FinalizeAnimatedBoundsChange()

重写时,在对边界进行动画更改或插入或删除项后执行自定义清理。

(继承自 UICollectionViewLayout)
FinalizeCollectionViewUpdates()

重写时,允许在更新期间进行其他动画或清理。

(继承自 UICollectionViewLayout)
FinalizeLayoutTransition()

在切换动画之前调用,通知布局对象在动画之前执行任何必要的步骤。

(继承自 UICollectionViewLayout)
FinalLayoutAttributesForDisappearingDecorationElement(NSString, NSIndexPath)

即将从此 UICollectionViewLayout 中删除的修饰元素的最终布局信息。

(继承自 UICollectionViewLayout)
FinalLayoutAttributesForDisappearingItem(NSIndexPath)

即将从 UICollectionView 中删除的项的最终布局信息。

(继承自 UICollectionViewLayout)
FinalLayoutAttributesForDisappearingSupplementaryElement(NSString, NSIndexPath)

即将从集合视图中删除的补充视图的最终布局信息。

(继承自 UICollectionViewLayout)
GetBindingInfo(NSString)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
GetBindingOptionDescriptions(NSString)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
GetBindingValueClass(NSString)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
GetDictionaryOfValuesFromKeys(NSString[])

检索指定键的值。

(继承自 NSObject)
GetHashCode()

为当前实例生成哈希代码。

(继承自 NSObject)
GetIndexPathsToDeleteForDecorationViewOfKind(NSString)

NSIndexPaths 的数组,指示要删除的修饰视图。

(继承自 UICollectionViewLayout)
GetIndexPathsToDeleteForSupplementaryView(NSString)

NSIndexPaths 数组,指示要删除的补充视图。

(继承自 UICollectionViewLayout)
GetIndexPathsToInsertForDecorationView(NSString)

NSIndexPaths 数组,指示要添加的修饰视图。

(继承自 UICollectionViewLayout)
GetIndexPathsToInsertForSupplementaryView(NSString)

指示要添加的补充视图的索引路径数组。

(继承自 UICollectionViewLayout)
GetInvalidationContext(UICollectionViewLayoutAttributes, UICollectionViewLayoutAttributes)

获取从 originalAttributes 更改为 preferredAttributes的无效区域。

(继承自 UICollectionViewLayout)
GetInvalidationContextForBoundsChange(CGRect)

返回一个 UICollectionViewLayoutInvalidationContext,指定为响应边界更改而更改的布局部分。

(继承自 UICollectionViewLayout)
GetInvalidationContextForEndingInteractiveMovementOfItems(NSIndexPath[], NSIndexPath[], Boolean)

返回移动项的验证上下文。

(继承自 UICollectionViewLayout)
GetInvalidationContextForInteractivelyMovingItems(NSIndexPath[], CGPoint, NSIndexPath[], CGPoint)

获取一个 UICollectionViewLayoutInvalidationContext ,它标识要移动的项。

(继承自 UICollectionViewLayout)
GetLayoutAttributesForInteractivelyMovingItem(NSIndexPath, CGPoint)

返回用户正在移动的项的布局属性。

(继承自 UICollectionViewLayout)
GetMethodForSelector(Selector)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
GetNativeField(String)
已过时.

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
GetNativeHash()

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
GetTargetIndexPathForInteractivelyMovingItem(NSIndexPath, CGPoint)

返回用户正在移动的项的目标索引路径。

(继承自 UICollectionViewLayout)
GetValueForAnimatedKey(String)

指定键的最新值。

Init()

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
InitializeHandle(IntPtr)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
InitializeHandle(IntPtr, String)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
InitialLayoutAttributesForAppearingDecorationElement(NSString, NSIndexPath)

有关要插入到 UICollectionView 中的装饰视图的起始布局的信息。

(继承自 UICollectionViewLayout)
InitialLayoutAttributesForAppearingItem(NSIndexPath)

有关要插入到 UICollectionView 中的项的起始布局的信息。

(继承自 UICollectionViewLayout)
InitialLayoutAttributesForAppearingSupplementaryElement(NSString, NSIndexPath)

有关要插入到 UICollectionView 中的补充视图的起始布局的信息。

(继承自 UICollectionViewLayout)
InvalidateLayout()

使当前布局失效并启动更新。

(继承自 UICollectionViewLayout)
InvalidateLayout(UICollectionViewLayoutInvalidationContext)

强制重新计算和应用集合视图。

(继承自 UICollectionViewLayout)
Invoke(Action, Double)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
Invoke(Action, TimeSpan)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
InvokeOnMainThread(Action)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
InvokeOnMainThread(Selector, NSObject)

同步调用主 UI 线程上的指定代码。

(继承自 NSObject)
IsEqual(NSObject)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
IsKindOfClass(Class)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
IsMemberOfClass(Class)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
LayoutAttributesForDecorationView(NSString, NSIndexPath)

指定修饰视图的 UICollectionViewLayoutAttributes。

(继承自 UICollectionViewLayout)
LayoutAttributesForElementsInRect(CGRect)

指定 RectangleF中的所有单元格和视图的 UICollectionViewLayoutAttributes。

(继承自 UICollectionViewLayout)
LayoutAttributesForItem(NSIndexPath)

指定 NSIndexPath 的 UICollectionViewLayoutAttributes。

(继承自 UICollectionViewLayout)
LayoutAttributesForSupplementaryView(NSString, NSIndexPath)

指定补充视图的 UICollectionViewLayoutAttributes。

(继承自 UICollectionViewLayout)
LayoutAttributesForSupplementaryView(UICollectionElementKindSection, NSIndexPath)

指定 indexPath 处的补充视图的属性。

(继承自 UICollectionViewLayout)
MarkDirty()

将常规对等对象 (IsDirectBinding 为 true) 提升为 toggleref 对象。

(继承自 NSObject)
MutableCopy()

创建指定 NSObject 的可变副本。

(继承自 NSObject)
ObjectDidEndEditing(NSObject)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr)

指示相对于此对象的指定 keyPath 处的值已更改。

(继承自 NSObject)
PerformSelector(Selector)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
PerformSelector(Selector, NSObject)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
PerformSelector(Selector, NSObject, Double)

在当前实例上调用选择器,如果 obj 不为 null,则将其作为其单个参数传递。

(继承自 NSObject)
PerformSelector(Selector, NSObject, Double, NSString[])

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
PerformSelector(Selector, NSObject, NSObject)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[])

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
PrepareForAnimatedBoundsChange(CGRect)

在对边界进行动画更改之前或在插入或删除项之前调用。

(继承自 UICollectionViewLayout)
PrepareForCollectionViewUpdates(UICollectionViewUpdateItem[])

通知布局对象 UICollectionView 的内容即将更改。

(继承自 UICollectionViewLayout)
PrepareForInterfaceBuilder()

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
PrepareForTransitionFromLayout(UICollectionViewLayout)

通知布局对象,它将很快安装为 UICollectionView 的布局。

(继承自 UICollectionViewLayout)
PrepareForTransitionToLayout(UICollectionViewLayout)

告知布局对象,它将很快作为 UICollectionView 的布局删除。

(继承自 UICollectionViewLayout)
PrepareLayout()

告知布局对象更新布局。

(继承自 UICollectionViewLayout)
RegisterClassForDecorationView(Type, NSString)

将按 kind 标识的类注册为修饰视图。

(继承自 UICollectionViewLayout)
RegisterNibForDecorationView(UINib, NSString)

注册 UINib 以用作修饰视图的模板。

(继承自 UICollectionViewLayout)
RemoveObserver(NSObject, NSString)

阻止指定观察程序接收指定 keyPath 的更改值的进一步通知。

(继承自 NSObject)
RemoveObserver(NSObject, NSString, IntPtr)

停止指定的观察程序接收指定 keyPath 和上下文的更改值的进一步通知。

(继承自 NSObject)
RemoveObserver(NSObject, String)

阻止指定观察程序接收指定 keyPath 的更改值的进一步通知。

(继承自 NSObject)
RemoveObserver(NSObject, String, IntPtr)

停止指定的观察程序接收指定 keyPath 和上下文的更改值的进一步通知。

(继承自 NSObject)
RespondsToSelector(Selector)

此对象是否识别指定的选择器。

(继承自 NSObject)
SetNativeField(String, NSObject)
已过时.

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
SetNilValueForKey(NSString)

将指定键的值设置为 null。

(继承自 NSObject)
SetValueForKey(NSObject, NSString)

将键指定的属性的值设置为指定的值。

(继承自 NSObject)
SetValueForKeyPath(IntPtr, NSString)

创建非托管对象的托管表示形式时使用的构造函数;由运行时调用。

(继承自 NSObject)
SetValueForKeyPath(NSObject, NSString)

设置可以使用键路径访问的属性的值。

(继承自 NSObject)
SetValueForUndefinedKey(NSObject, NSString)

指示尝试将值写入未定义的键。 如果未重写,则引发 NSUndefinedKeyException。

(继承自 NSObject)
SetValuesForKeysWithDictionary(NSDictionary)

将此 NSObject 的值设置为指定字典中的值。

(继承自 NSObject)
ShouldInvalidateLayout(UICollectionViewLayoutAttributes, UICollectionViewLayoutAttributes)

如果集合视图需要使从 preferredAttributes 更改为 originalAttributes的更改失效,则返回 true。

(继承自 UICollectionViewLayout)
ShouldInvalidateLayoutForBoundsChange(CGRect)

新边界是否需要布局更新。

(继承自 UICollectionViewLayout)
TargetContentOffset(CGPoint, CGPoint)

停止滚动的 PointF。

(继承自 UICollectionViewLayout)
TargetContentOffsetForProposedContentOffset(CGPoint)

动画布局更改后要使用的内容偏移量。

(继承自 UICollectionViewLayout)
ToString()

返回当前实例的值的字符串表示形式。

(继承自 NSObject)
Unbind(NSString)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
Unbind(String)
已过时.

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
UpdateValue(nfloat, String)

将可动画键设置为 。

ValueForKey(NSString)

返回与指定键关联的属性的值。

(继承自 NSObject)
ValueForKeyPath(NSString)

返回可以使用键路径访问的属性的值。

(继承自 NSObject)
ValueForUndefinedKey(NSString)

指示尝试读取未定义键的值。 如果未重写,则引发 NSUndefinedKeyException。

(继承自 NSObject)
WillChange(NSKeyValueChange, NSIndexSet, NSString)

指示指定键中指定索引的值即将更改。

(继承自 NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

(继承自 NSObject)
WillChangeValue(String)

指示指定键的值即将更改。

(继承自 NSObject)

扩展方法

GetDebugDescription(INSObjectProtocol)

在一个 UICollectionViewLayout 布局和另一个 UICollectionView 布局之间转换时临时使用的 。

GetAccessibilityCustomRotors(NSObject)

获取适用于 this 对象的 对象的数组UIAccessibilityCustomRotor

SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[])

设置适用于 this 对象的 对象数组UIAccessibilityCustomRotor

适用于

另请参阅