iOS Guides | Samples

MonoTouch.UIKit.UICollisionBehaviorMode Enumeration

An enumeration whose values specify whether a UICollisionBehavior detects collisions to boundaries, items, or everything.

Syntax

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

Members

Member NameDescription
BoundariesThe dynamic items will not collide with each other, only the specified collision boundaries.
EverythingThe dynamic items will collide with each other or the specified collision boundaries.
ItemsThe dynamic items collide only with each and not with collision boundaries.

Requirements

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

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

See Also: Enum

Public Fields

BoundariesUICollisionBehaviorMode. The dynamic items will not collide with each other, only the specified collision boundaries.
EverythingUICollisionBehaviorMode. The dynamic items will collide with each other or the specified collision boundaries.
ItemsUICollisionBehaviorMode. The dynamic items collide only with each and not with collision boundaries.