Partager via


NSView.AddConstraint(NSLayoutConstraint) Méthode

Définition

[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

Paramètres

constraint
NSLayoutConstraint
Attributs

S’applique à