共用方式為


NSLayoutXAxisAnchor.CreateAnchorWithOffset(NSLayoutXAxisAnchor) 方法

定義

傳回目前錨點與 otherAnchor 之間距離的版面配置維度。

[Foundation.Export("anchorWithOffsetToAnchor:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.NSLayoutDimension CreateAnchorWithOffset (UIKit.NSLayoutXAxisAnchor otherAnchor);
abstract member CreateAnchorWithOffset : UIKit.NSLayoutXAxisAnchor -> UIKit.NSLayoutDimension
override this.CreateAnchorWithOffset : UIKit.NSLayoutXAxisAnchor -> UIKit.NSLayoutDimension

參數

otherAnchor
NSLayoutXAxisAnchor

傳回

屬性

適用於