次の方法で共有


NSView.AddConstraint(NSLayoutConstraint) メソッド

定義

[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

パラメーター

constraint
NSLayoutConstraint
属性

適用対象