Share via


UIAttachmentBehavior.CreateSlidingAttachment Method

Definition

Overloads

CreateSlidingAttachment(IUIDynamicItem, CGPoint, CGVector)

[Foundation.Export("slidingAttachmentWithItem:attachmentAnchor:axisOfTranslation:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UIAttachmentBehavior CreateSlidingAttachment(UIKit.IUIDynamicItem item, CoreGraphics.CGPoint attachmentAnchor, CoreGraphics.CGVector translationAxis);
[<Foundation.Export("slidingAttachmentWithItem:attachmentAnchor:axisOfTranslation:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateSlidingAttachment : UIKit.IUIDynamicItem * CoreGraphics.CGPoint * CoreGraphics.CGVector -> UIKit.UIAttachmentBehavior

Parameters

attachmentAnchor
CGPoint
translationAxis
CGVector

Returns

Attributes

Applies to

CreateSlidingAttachment(IUIDynamicItem, IUIDynamicItem, CGPoint, CGVector)

[Foundation.Export("slidingAttachmentWithItem:attachedToItem:attachmentAnchor:axisOfTranslation:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UIAttachmentBehavior CreateSlidingAttachment(UIKit.IUIDynamicItem item1, UIKit.IUIDynamicItem item2, CoreGraphics.CGPoint attachmentAnchor, CoreGraphics.CGVector translationAxis);
[<Foundation.Export("slidingAttachmentWithItem:attachedToItem:attachmentAnchor:axisOfTranslation:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateSlidingAttachment : UIKit.IUIDynamicItem * UIKit.IUIDynamicItem * CoreGraphics.CGPoint * CoreGraphics.CGVector -> UIKit.UIAttachmentBehavior

Parameters

attachmentAnchor
CGPoint
translationAxis
CGVector

Returns

Attributes

Applies to