iOS Guides | Samples

MonoTouch.UIKit.UICollectionViewLayoutInvalidationContext Class

Specifies whether a call to UICollectionViewLayout.InvalidateLayout should affect just the data-source count or everything.

See Also: UICollectionViewLayoutInvalidationContext


[MonoTouch.Foundation.Register("UICollectionViewLayoutInvalidationContext", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 7, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public class UICollectionViewLayoutInvalidationContext : NSObject

Related content


Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions:

The members of MonoTouch.UIKit.UICollectionViewLayoutInvalidationContext are listed below.

See Also: NSObject

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

ClassHandleIntPtr. The handle for this class.
ContentOffsetAdjustmentPointF. Delta value that is applied to the content offset of a collection view.
ContentSizeAdjustmentSizeF. Delta value that is applied to the content size of a collection view.
InteractiveMovementTargetPointF. Gets the point that is used to place moving items.
InvalidateDataSourceCountsBoolean. Whether the data source's counts should be invalidated.
InvalidatedDecorationIndexPathsNSDictionary. A dictionary that defines invalidated decoration views.
InvalidatedItemIndexPathsNSIndexPath[]. An array of index paths that represents invalidated cells.
InvalidatedSupplementaryIndexPathsNSDictionary. A dictionary identifying invalidated supplementary views.
InvalidateEverythingBoolean. Whether all layout data should be marked as invalid. Read-only.
PreviousIndexPathsForInteractivelyMovingItemsNSIndexPath[]. Gets the index paths for previous locations of the moving items.
TargetIndexPathsForInteractivelyMovingItemsNSIndexPath[]. Gets the index paths for new locations of the moving items.

Public Methods

InvalidateDecorationElements(NSString, NSIndexPath[])
Adds decoration views at specified index paths to a list of items that are invalidated.
Adds cells in the specified index paths to an invalid item list.
InvalidateSupplementaryElements(NSString, NSIndexPath[])
Adds supplementary views in the specified index paths to an invalid item list.