Upravit

Sdílet prostřednictvím


NSLayoutAnchor<AnchorType>.ConstraintEqualToAnchor Method

Definition

Overloads

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

Parameters

Returns

Attributes

Applies to

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

Parameters

constant
nfloat

Returns

Attributes

Applies to