Edit

Share via


NSView.AddConstraint(NSLayoutConstraint) Method

Definition

[Foundation.Export("addConstraint:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddConstraint (AppKit.NSLayoutConstraint constraint);
abstract member AddConstraint : AppKit.NSLayoutConstraint -> unit
override this.AddConstraint : AppKit.NSLayoutConstraint -> unit

Parameters

constraint
NSLayoutConstraint
Attributes

Applies to