iOS Guides | Samples

MonoTouch.UIKit.UICollectionViewScrollPosition Enumeration

An enumeration of values used to specify to where a UIView should end up after a scroll into a UICollectionView.

Syntax

[MonoTouch.ObjCRuntime.Native]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum UICollectionViewScrollPosition

See Also

Remarks

Members

Member NameDescription
BottomScrolls so that the item is positioned at the bottom of the collection view.
CenteredHorizontallyScrolls so that the item is centered horizontally in the collection view.
CenteredVerticallyScrolls so that the item is centered vertically in the collection view.
LeftScrolls so that the item is positioned at the left edge of the collection view.
NoneDo not scroll the item into the view.
RightScrolls so that the item is positioned at the right edge of the collection view.
TopScrolls so that the item is positioned at the top of the view's bounds.

Related content

Requirements

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

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

See Also: Enum

Public Fields

BottomUICollectionViewScrollPosition. Scrolls so that the item is positioned at the bottom of the collection view.
CenteredHorizontallyUICollectionViewScrollPosition. Scrolls so that the item is centered horizontally in the collection view.
CenteredVerticallyUICollectionViewScrollPosition. Scrolls so that the item is centered vertically in the collection view.
LeftUICollectionViewScrollPosition. Scrolls so that the item is positioned at the left edge of the collection view.
NoneUICollectionViewScrollPosition. Do not scroll the item into the view.
RightUICollectionViewScrollPosition. Scrolls so that the item is positioned at the right edge of the collection view.
TopUICollectionViewScrollPosition. Scrolls so that the item is positioned at the top of the view's bounds.