UIKit.UIDynamicBehavior Class
The base class for items that describe the physics-like behaviors of UIKit Dynamics, introduced in iOS 7.

See Also: UIDynamicBehavior Members

Syntax

[Foundation.Register("UIDynamicBehavior", true)]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_7_0)]
public class UIDynamicBehavior : Foundation.NSObject

Remarks

A number of UIKit.UIDynamicBehaviors are associated with a UIKit.UIDynamicAnimator, which is responsible for the overall context. Any given UIKit.UIDynamicBehavior is associated with some amount of UIKit.IUIDynamicItems (such as UIKit.UIViews and UIKit.UICollectionViewLayoutAttributes); most subclasses of 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 UIKit.UIDynamicBehavior:

SubclassBehavior
UIKit.UIAttachmentBehavior Attachment: Specifies a dynamic connection between two UIKit.IUIDynamicItems or between a UIKit.IUIDynamicItem and a fixed point.
UIKit.UICollisionBehavior Collision: Detects when the boundaries of a UIKit.IUIDynamicItem meet another boundary.
UIKit.UIGravityBehavior Gravity: Accelerates the UIKit.IUIDynamicItem towards the bottom of the screen.
UIKit.UIDynamicItemBehavior Animation: Specifies an animation configuration to apply to one or more UIKit.IUIDynamicItems.
UIKit.UIPushBehavior Pushing: Applies a continuous or instantaneous force vector to a UIKit.IUIDynamicItem.
UIKit.UISnapBehavior Snapping: Specifies a magnetism-like attraction between a UIKit.IUIDynamicItem and a fixed point. Includes a rebounding effect.

Related content

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0