iOS Guides | Samples

UIKit.UISnapBehavior Class

See Also: UISnapBehavior

Syntax

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

Remarks

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

Related content

Requirements

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

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

[read-only]
override
ClassHandleIntPtr. The handle for this class.
Dampingnfloat. The damping behavior applied to the snap.
SnapPointCGPoint. Gets or sets the snap point.