UIAttachmentBehavior.CreateSlidingAttachment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateSlidingAttachment(IUIDynamicItem, CGPoint, CGVector) |
Static factory method to create a UIAttachmentBehavior that slides along the <param name="translationAxis" />. |
CreateSlidingAttachment(IUIDynamicItem, IUIDynamicItem, CGPoint, CGVector) |
Static factory method to create a rUIAttachmentBehavior that slides along <param name="translationAxis" />. |
CreateSlidingAttachment(IUIDynamicItem, CGPoint, CGVector)
Static factory method to create a UIAttachmentBehavior that slides along the <param name="translationAxis" />.
[Foundation.Export("slidingAttachmentWithItem:attachmentAnchor:axisOfTranslation:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIAttachmentBehavior CreateSlidingAttachment(UIKit.IUIDynamicItem item, CoreGraphics.CGPoint attachmentAnchor, CoreGraphics.CGVector translationAxis);
static member CreateSlidingAttachment : UIKit.IUIDynamicItem * CoreGraphics.CGPoint * CoreGraphics.CGVector -> UIKit.UIAttachmentBehavior
Parameters
- item
- IUIDynamicItem
- attachmentAnchor
- CGPoint
- translationAxis
- CGVector
Returns
- Attributes
Applies to
CreateSlidingAttachment(IUIDynamicItem, IUIDynamicItem, CGPoint, CGVector)
Static factory method to create a rUIAttachmentBehavior that slides along <param name="translationAxis" />.
[Foundation.Export("slidingAttachmentWithItem:attachedToItem:attachmentAnchor:axisOfTranslation:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIAttachmentBehavior CreateSlidingAttachment(UIKit.IUIDynamicItem item1, UIKit.IUIDynamicItem item2, CoreGraphics.CGPoint attachmentAnchor, CoreGraphics.CGVector translationAxis);
static member CreateSlidingAttachment : UIKit.IUIDynamicItem * UIKit.IUIDynamicItem * CoreGraphics.CGPoint * CoreGraphics.CGVector -> UIKit.UIAttachmentBehavior
Parameters
- item1
- IUIDynamicItem
- item2
- IUIDynamicItem
- attachmentAnchor
- CGPoint
- translationAxis
- CGVector
Returns
- Attributes