Bewerken

Delen via


NSLayoutAnchor<AnchorType>.ConstraintGreaterThanOrEqualTo Method

Definition

Overloads

ConstraintGreaterThanOrEqualTo(NSLayoutAnchor<AnchorType>)

Creates a NSLayoutConstraint whose value is at least equal to that of the constraint of the anchor.

ConstraintGreaterThanOrEqualTo(NSLayoutAnchor<AnchorType>, nfloat)

Creates a NSLayoutConstraint whose value is at least equal to that of the constraint of the anchor plus constant pixels.

ConstraintGreaterThanOrEqualTo(NSLayoutAnchor<AnchorType>)

Creates a NSLayoutConstraint whose value is at least equal to that of the constraint of the anchor.

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

Parameters

anchor
NSLayoutAnchor<AnchorType>

The NSLayoutAnchor<AnchorType> whose constraint value should be used.

Returns

A new NSLayoutConstraint.

Attributes

Remarks

As with other methods of this class, this method returns a new NSLayoutConstraint but does not add and activate it to the current UIView.

Applies to

ConstraintGreaterThanOrEqualTo(NSLayoutAnchor<AnchorType>, nfloat)

Creates a NSLayoutConstraint whose value is at least equal to that of the constraint of the anchor plus constant pixels.

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

Parameters

anchor
NSLayoutAnchor<AnchorType>

The NSLayoutAnchor<AnchorType> whose constraint value should be used.

constant
nfloat

The number of logical pixels to add to the value of anchor.

Returns

A new NSLayoutConstraint.

Attributes

Remarks

As with other methods of this class, this method returns a new NSLayoutConstraint but does not add and activate it to the current UIView.

Applies to