NSLayoutAnchor<AnchorType>.ConstraintEqualToAnchor 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
- anchor
- NSLayoutAnchor<AnchorType>
返回
- 属性
适用于
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
参数
- anchor
- NSLayoutAnchor<AnchorType>
- constant
- nfloat
返回
- 属性