See Also: UIDynamicBehavior Members
A number of MonoTouch.UIKit.UIDynamicBehaviors are associated with a MonoTouch.UIKit.UIDynamicAnimator, which is responsible for the overall context. Any given MonoTouch.UIKit.UIDynamicBehavior is associated with some amount of MonoTouch.UIKit.IUIDynamicItems (such as MonoTouch.UIKit.UIViews and MonoTouch.UIKit.UICollectionViewLayoutAttributes); most subclasses of MonoTouch.UIKit.UIDynamicBehavior expose these in an Items property or application developers can retrieve them with UIDynamicAnimator.GetDynamicItems.
There are a number of predefined subclasses of MonoTouch.UIKit.UIDynamicBehavior:
Subclass | Behavior |
---|---|
MonoTouch.UIKit.UIAttachmentBehavior | Attachment: Specifies a dynamic connection between two MonoTouch.UIKit.IUIDynamicItems or between a MonoTouch.UIKit.IUIDynamicItem and a fixed point. |
MonoTouch.UIKit.UICollisionBehavior | Collision: Detects when the boundaries of a MonoTouch.UIKit.IUIDynamicItem meet another boundary. |
MonoTouch.UIKit.UIGravityBehavior | Gravity: Accelerates the MonoTouch.UIKit.IUIDynamicItem towards the bottom of the screen. |
MonoTouch.UIKit.UIDynamicItemBehavior | Animation: Specifies an animation configuration to apply to one or more MonoTouch.UIKit.IUIDynamicItems. |
MonoTouch.UIKit.UIPushBehavior | Pushing: Applies a continuous or instantaneous force vector to a MonoTouch.UIKit.IUIDynamicItem. |
MonoTouch.UIKit.UISnapBehavior | Snapping: Specifies a magnetism-like attraction between a MonoTouch.UIKit.IUIDynamicItem and a fixed point. Includes a rebounding effect. |