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

Syntax

[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

Requirements

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

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

[read-only]
override
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.
[read-only]
InteractiveMovementTargetPointF. Gets the point that is used to place moving items.
[read-only]
InvalidateDataSourceCountsBoolean. Whether the data source's counts should be invalidated.
[read-only]
InvalidatedDecorationIndexPathsNSDictionary. A dictionary that defines invalidated decoration views.
[read-only]
InvalidatedItemIndexPathsNSIndexPath[]. An array of index paths that represents invalidated cells.
[read-only]
InvalidatedSupplementaryIndexPathsNSDictionary. A dictionary identifying invalidated supplementary views.
[read-only]
InvalidateEverythingBoolean. Whether all layout data should be marked as invalid. Read-only.
[read-only]
PreviousIndexPathsForInteractivelyMovingItemsNSIndexPath[]. Gets the index paths for previous locations of the moving items.
[read-only]
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.
InvalidateItems(NSIndexPath[])
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.