NSWindow.SetAnchorAttribute 方法

定义

[Foundation.Export("setAnchorAttribute:forOrientation:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetAnchorAttribute (AppKit.NSLayoutAttribute layoutAttribute, AppKit.NSLayoutConstraintOrientation forOrientation);
abstract member SetAnchorAttribute : AppKit.NSLayoutAttribute * AppKit.NSLayoutConstraintOrientation -> unit
override this.SetAnchorAttribute : AppKit.NSLayoutAttribute * AppKit.NSLayoutConstraintOrientation -> unit

参数

layoutAttribute
NSLayoutAttribute
属性

适用于