NSLayoutDimension.ConstraintLessThanOrEqualTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ConstraintLessThanOrEqualTo(nfloat) |
Creates a NSLayoutConstraint whose value is at at most |
ConstraintLessThanOrEqualTo(NSLayoutDimension, nfloat) |
Creates a NSLayoutConstraint whose value is at most equal to that of the constraint of the |
ConstraintLessThanOrEqualTo(NSLayoutDimension, nfloat, nfloat) |
Creates a NSLayoutConstraint whose value is at most equal to that of the constraint of the |
ConstraintLessThanOrEqualTo(nfloat)
Creates a NSLayoutConstraint whose value is at at most constant
.
[Foundation.Export("constraintLessThanOrEqualToConstant:")]
public virtual UIKit.NSLayoutConstraint ConstraintLessThanOrEqualTo (nfloat constant);
override this.ConstraintLessThanOrEqualTo : nfloat -> UIKit.NSLayoutConstraint
Parameters
- constant
- nfloat
The number of logical pixels to add.
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
ConstraintLessThanOrEqualTo(NSLayoutDimension, nfloat)
Creates a NSLayoutConstraint whose value is at most equal to that of the constraint of the anchor
times multiplier
.
[Foundation.Export("constraintLessThanOrEqualToAnchor:multiplier:")]
public virtual UIKit.NSLayoutConstraint ConstraintLessThanOrEqualTo (UIKit.NSLayoutDimension anchor, nfloat multiplier);
override this.ConstraintLessThanOrEqualTo : UIKit.NSLayoutDimension * nfloat -> UIKit.NSLayoutConstraint
Parameters
- anchor
- NSLayoutDimension
The NSLayoutAnchor<AnchorType> whose constraint value should be copied.
- multiplier
- nfloat
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
ConstraintLessThanOrEqualTo(NSLayoutDimension, nfloat, nfloat)
Creates a NSLayoutConstraint whose value is at most equal to that of the constraint of the anchor
times the multiplier
plus constant
logical pixels.
[Foundation.Export("constraintLessThanOrEqualToAnchor:multiplier:constant:")]
public virtual UIKit.NSLayoutConstraint ConstraintLessThanOrEqualTo (UIKit.NSLayoutDimension anchor, nfloat multiplier, nfloat constant);
override this.ConstraintLessThanOrEqualTo : UIKit.NSLayoutDimension * nfloat * nfloat -> UIKit.NSLayoutConstraint
Parameters
- anchor
- NSLayoutDimension
The NSLayoutAnchor<AnchorType> whose constraint value should be copied.
- multiplier
- nfloat
- constant
- nfloat
The number of logical pixels to add.
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.