共用方式為


NSView.GetContentHuggingPriorityForOrientation 方法

定義

[Foundation.Export("contentHuggingPriorityForOrientation:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual float GetContentHuggingPriorityForOrientation (AppKit.NSLayoutConstraintOrientation orientation);
abstract member GetContentHuggingPriorityForOrientation : AppKit.NSLayoutConstraintOrientation -> single
override this.GetContentHuggingPriorityForOrientation : AppKit.NSLayoutConstraintOrientation -> single

參數

傳回

屬性

適用於