iOS Guides | Samples

UIKit.UISnapBehavior Class

See Also: UISnapBehavior


[Foundation.Register("UISnapBehavior", true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public class UISnapBehavior : UIDynamicBehavior


The UI Dynamics engine attempts to ensure both position and non-rotated angle of the IUIDynamicItem to which this behavior is applied.

Related content


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

The members of UIKit.UISnapBehavior are listed below.

See Also: UIDynamicBehavior

Public Constructors

Creates a new snap behavior for the provided item and snap point.

Protected Constructors

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.

Public Properties

ClassHandleIntPtr. The handle for this class.
Dampingnfloat. The damping behavior applied to the snap.
SnapPointCGPoint. Gets or sets the snap point.