NSLayoutXAxisAnchor.ConstraintEqualToSystemSpacingAfterAnchor 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回從目前錨點到指定 anchor
之 距離的條件約束,此條件約束會依 multiplier
指定的系統間距來縮放。
[Foundation.Export("constraintEqualToSystemSpacingAfterAnchor:multiplier:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.NSLayoutConstraint ConstraintEqualToSystemSpacingAfterAnchor(UIKit.NSLayoutXAxisAnchor anchor, nfloat multiplier);
abstract member ConstraintEqualToSystemSpacingAfterAnchor : UIKit.NSLayoutXAxisAnchor * nfloat -> UIKit.NSLayoutConstraint
override this.ConstraintEqualToSystemSpacingAfterAnchor : UIKit.NSLayoutXAxisAnchor * nfloat -> UIKit.NSLayoutConstraint
參數
- anchor
- NSLayoutXAxisAnchor
參考錨點。
- multiplier
- nfloat
間距的乘數。
傳回
- 屬性