編輯

共用方式為


NSLayoutXAxisAnchor.ConstraintLessThanOrEqualToSystemSpacingAfterAnchor Method

Definition

Returns a constraint for at most the distance from the current anchor to the specified anchor, scaled by the specified multiplier over system spacing.

[Foundation.Export("constraintLessThanOrEqualToSystemSpacingAfterAnchor:multiplier:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.NSLayoutConstraint ConstraintLessThanOrEqualToSystemSpacingAfterAnchor (UIKit.NSLayoutXAxisAnchor anchor, nfloat multiplier);
abstract member ConstraintLessThanOrEqualToSystemSpacingAfterAnchor : UIKit.NSLayoutXAxisAnchor * nfloat -> UIKit.NSLayoutConstraint
override this.ConstraintLessThanOrEqualToSystemSpacingAfterAnchor : UIKit.NSLayoutXAxisAnchor * nfloat -> UIKit.NSLayoutConstraint

Parameters

anchor
NSLayoutXAxisAnchor

The reference anchor.

multiplier
nfloat

The multiplier for the spacing.

Returns

Attributes

Applies to