NSLayoutAnchor<AnchorType>.ConstraintEqualToAnchor 方法

定义

重载

ConstraintEqualToAnchor(NSLayoutAnchor<AnchorType>)
ConstraintEqualToAnchor(NSLayoutAnchor<AnchorType>, nfloat)

ConstraintEqualToAnchor(NSLayoutAnchor<AnchorType>)

[Foundation.Export("constraintEqualToAnchor:")]
public virtual AppKit.NSLayoutConstraint ConstraintEqualToAnchor (AppKit.NSLayoutAnchor<AnchorType> anchor);
abstract member ConstraintEqualToAnchor : AppKit.NSLayoutAnchor<'AnchorType (requires 'AnchorType :> Foundation.NSObject)> -> AppKit.NSLayoutConstraint
override this.ConstraintEqualToAnchor : AppKit.NSLayoutAnchor<'AnchorType (requires 'AnchorType :> Foundation.NSObject)> -> AppKit.NSLayoutConstraint

参数

返回

属性

适用于

ConstraintEqualToAnchor(NSLayoutAnchor<AnchorType>, nfloat)

[Foundation.Export("constraintEqualToAnchor:constant:")]
public virtual AppKit.NSLayoutConstraint ConstraintEqualToAnchor (AppKit.NSLayoutAnchor<AnchorType> anchor, nfloat constant);
abstract member ConstraintEqualToAnchor : AppKit.NSLayoutAnchor<'AnchorType (requires 'AnchorType :> Foundation.NSObject)> * nfloat -> AppKit.NSLayoutConstraint
override this.ConstraintEqualToAnchor : AppKit.NSLayoutAnchor<'AnchorType (requires 'AnchorType :> Foundation.NSObject)> * nfloat -> AppKit.NSLayoutConstraint

参数

constant
nfloat

返回

属性

适用于