MonoTouch.UIKit.UIView.AddConstraint Method
Adds a constraint to the layout of the receiving view or its subviews.

Syntax

[MonoTouch.Foundation.Export("addConstraint:")]
[MonoTouch.ObjCRuntime.Availability(Introduced=MonoTouch.ObjCRuntime.Platform.iOS_6_0)]
public virtual void AddConstraint (NSLayoutConstraint constraint)

See Also

UIView.Constraints
UIView.AddConstraints
UIView.RemoveConstraint
UIView.RemoveConstraints
UIView.TranslatesAutoresizingMaskIntoConstraints

Parameters

constraint
A MonoTouch.UIKit.NSLayoutConstraint to add. The constraint must refer only to the receiving view or its subviews.

Remarks

The constraint must refer only to the receiving view or its subviews.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0