UIKit.UICollectionViewLayout Members

The members of UIKit.UICollectionViewLayout are listed below.

See Also: Inherited members from Foundation.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.

Protected Constructors

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.
[read-only]
CollectionViewUICollectionView. The UIKit.UICollectionView which this UIKit.UICollectionViewLayout is laying out.
[read-only]
CollectionViewContentSizeCoreGraphics.CGSize. The SizeF of this UICollectionViewLayout's content.
[read-only]
static
LayoutAttributesClassObjCRuntime.Class. The UICollectionViewLayoutAttributes used for layout attributes for this UICollectionViewLayout.

Public Methods

EncodeTo(Foundation.NSCoder)
Encodes the state of the object on the provided encoder
FinalizeAnimatedBoundsChange()
When overridden, performs custom cleanup after animated changes to the bounds or after items have been inserted or deleted.
FinalizeCollectionViewUpdates()
When overridden, allows additional animations or clean up during an update.
FinalizeLayoutTransition()
Called prior to transition animations, informs the layout object to perform any steps necessary before the animations.
FinalLayoutAttributesForDisappearingDecorationElement(Foundation.NSString, Foundation.NSIndexPath) : UICollectionViewLayoutAttributes
The final layout information for a decoration element that is about to be removed from this UICollectionViewLayout.
FinalLayoutAttributesForDisappearingItem(Foundation.NSIndexPath) : UICollectionViewLayoutAttributes
The final layout information for an item that is about to be removed from the UICollectionView.
FinalLayoutAttributesForDisappearingSupplementaryElement(Foundation.NSString, Foundation.NSIndexPath) : UICollectionViewLayoutAttributes
The final layout information for a supplementary view that is about to be removed from the collection view.
GetIndexPathsToDeleteForDecorationViewOfKind(Foundation.NSString) : Foundation.NSIndexPath[]
An array of NSIndexPaths indicating the decoration views to remove.
GetIndexPathsToDeleteForSupplementaryView(Foundation.NSString) : Foundation.NSIndexPath[]
An array of NSIndexPaths indicating the supplementary views to remove.
GetIndexPathsToInsertForDecorationView(Foundation.NSString) : Foundation.NSIndexPath[]
An array of NSIndexPaths indicating the decoration views to add.
GetIndexPathsToInsertForSupplementaryView(Foundation.NSString) : Foundation.NSIndexPath[]
An array of index paths indicating the supplementary views to add.
GetInvalidationContext(UICollectionViewLayoutAttributes, UICollectionViewLayoutAttributes) : UICollectionViewLayoutInvalidationContext
Documentation for this section has not yet been entered.
GetInvalidationContextForBoundsChange(CoreGraphics.CGRect) : UICollectionViewLayoutInvalidationContext
Returns a UICollectionViewLayoutInvalidationContext that specifies the portions of the layout that change in response to a change in bounds.
InitialLayoutAttributesForAppearingDecorationElement(Foundation.NSString, Foundation.NSIndexPath) : UICollectionViewLayoutAttributes
Information on the starting layout of a decoration view that is being inserted into the UICollectionView.
InitialLayoutAttributesForAppearingItem(Foundation.NSIndexPath) : UICollectionViewLayoutAttributes
Information on the starting layout of an item that is being inserted into the UICollectionView.
InitialLayoutAttributesForAppearingSupplementaryElement(Foundation.NSString, Foundation.NSIndexPath) : UICollectionViewLayoutAttributes
Information on the starting layout of a supplementary view that is being inserted into the UICollectionView.
InvalidateLayout()
Invalidates the current layout and initiates an update.
InvalidateLayout(UICollectionViewLayoutInvalidationContext)
Forces recomputation and application of the collection view.
static
InvalidationContextClass() : ObjCRuntime.Class
The custom UICollectionViewLayoutInvalidationContext used for this UICollectionViewLayout.
LayoutAttributesForDecorationView(Foundation.NSString, Foundation.NSIndexPath) : UICollectionViewLayoutAttributes
The UICollectionViewLayoutAttributes for the specified decoration view.
LayoutAttributesForElementsInRect(CoreGraphics.CGRect) : UICollectionViewLayoutAttributes[]
The UICollectionViewLayoutAttributes for all the cells and views in the specified reRectangleF.
LayoutAttributesForItem(Foundation.NSIndexPath) : UICollectionViewLayoutAttributes
The UICollectionViewLayoutAttributes for the specified NSIndexPath.
LayoutAttributesForSupplementaryView(Foundation.NSString, Foundation.NSIndexPath) : UICollectionViewLayoutAttributes
The UICollectionViewLayoutAttributes for the specified supplementary view.
LayoutAttributesForSupplementaryView(UICollectionElementKindSection, Foundation.NSIndexPath) : UICollectionViewLayoutAttributes
The attributes for the supplementary view at the specified indexPath.
PrepareForAnimatedBoundsChange(CoreGraphics.CGRect)
Called prior to animated changes to the bounds or before insertion or deletion of items.
PrepareForCollectionViewUpdates(UICollectionViewUpdateItem[])
Notifies the layout object that the contents of the UICollectionView are about to change.
PrepareForTransitionFromLayout(UICollectionViewLayout)
Notifies the layout object that it will shortly be installed as the layout for the UICollectionView.
PrepareForTransitionToLayout(UICollectionViewLayout)
Tells the layout object that it will shortly be removed as the layout for the UICollectionView.
PrepareLayout()
Tells the layout object to update the layout.
RegisterClassForDecorationView(Type, Foundation.NSString)
Registers the class identified by kind as a decoration view.
RegisterNibForDecorationView(UINib, Foundation.NSString)
Registers the UINib for use as a template for decoration views.
ShouldInvalidateLayout(UICollectionViewLayoutAttributes, UICollectionViewLayoutAttributes) : bool
Documentation for this section has not yet been entered.
ShouldInvalidateLayoutForBoundsChange(CoreGraphics.CGRect) : bool
Whether the new bounds requires a layout update.
TargetContentOffset(CoreGraphics.CGPoint, CoreGraphics.CGPoint) : CoreGraphics.CGPoint
The PointF at which to stop scrolling.
TargetContentOffsetForProposedContentOffset(CoreGraphics.CGPoint) : CoreGraphics.CGPoint
The content offset to use after an animated layout change.

Protected Methods

override
Dispose(bool)
Releases the resources used by the UICollectionViewLayout object.