See Also: UIDynamicBehavior
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 7, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public class UIDynamicBehavior : NSObject
A number of UIDynamicBehaviors are associated with a UIDynamicAnimator, which is responsible for the overall context. Any given UIDynamicBehavior is associated with some amount of IUIDynamicItems (such as UIViews and UICollectionViewLayoutAttributes); most subclasses of UIDynamicBehavior expose these in an Items property or application developers can retrieve them with UIDynamicAnimator.GetDynamicItems.
There are a number of predefined subclasses of UIDynamicBehavior:
|UIAttachmentBehavior||Attachment: Specifies a dynamic connection between two IUIDynamicItems or between a IUIDynamicItem and a fixed point.|
|UICollisionBehavior||Collision: Detects when the boundaries of a IUIDynamicItem meet another boundary.|
|UIGravityBehavior||Gravity: Accelerates the IUIDynamicItem towards the bottom of the screen.|
|UIDynamicItemBehavior||Animation: Specifies an animation configuration to apply to one or more IUIDynamicItems.|
|UIPushBehavior||Pushing: Applies a continuous or instantaneous force vector to a IUIDynamicItem.|
|UISnapBehavior||Snapping: Specifies a magnetism-like attraction between a IUIDynamicItem and a fixed point. Includes a rebounding effect.|
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0
The members of MonoTouch.UIKit.UIDynamicBehavior are listed below.
See Also: NSObject
|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.|
|Action||NSAction. The NSAction that executes during dynamic animation.|
|[read-only]||ChildBehaviors||UIDynamicBehavior. The children UIDynamicBehaviors of this UIDynamicBehavior. Read-only.|
|ClassHandle||IntPtr. The handle for this class.|
|[read-only]||DynamicAnimator||UIDynamicAnimator. The UIDynamicAnimator associated with this UIDynamicBehavior. Read-only.|
Adds a UIDynamicBehavior to this UIDynamicBehavior's ChildBehaviors.
Removes a UIDynamicBehavior from this UIDynamicBehavior's ChildBehaviors.
Indicates that this UIDynamicBehavior has been added or removed from a UIDynamicAnimator.