Share via


NSLayoutAnchor<AnchorType>.ConstraintGreaterThanOrEqualTo Method

Definition

Overloads

Name Description
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:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.NSLayoutConstraint ConstraintGreaterThanOrEqualTo(UIKit.NSLayoutAnchor<AnchorType> anchor);
[<Foundation.Export("constraintGreaterThanOrEqualToAnchor:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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 view.

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:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.NSLayoutConstraint ConstraintGreaterThanOrEqualTo(UIKit.NSLayoutAnchor<AnchorType> anchor, System.Runtime.InteropServices.NFloat constant);
[<Foundation.Export("constraintGreaterThanOrEqualToAnchor:constant:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ConstraintGreaterThanOrEqualTo : UIKit.NSLayoutAnchor<'AnchorType (requires 'AnchorType :> Foundation.NSObject)> * System.Runtime.InteropServices.NFloat -> UIKit.NSLayoutConstraint
override this.ConstraintGreaterThanOrEqualTo : UIKit.NSLayoutAnchor<'AnchorType (requires 'AnchorType :> Foundation.NSObject)> * System.Runtime.InteropServices.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 view.

Applies to