See Also: UIDynamicBehavior
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, 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: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0
The members of UIKit.UIDynamicBehavior are listed below.
See Also: NSObject
|Default constructor, initializes a new instance of this class.|
|Action||Action. 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.