編輯

共用方式為


NSView.SetContentHuggingPriorityForOrientation Method

Definition

[Foundation.Export("setContentHuggingPriority:forOrientation:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetContentHuggingPriorityForOrientation (float priority, AppKit.NSLayoutConstraintOrientation orientation);
abstract member SetContentHuggingPriorityForOrientation : single * AppKit.NSLayoutConstraintOrientation -> unit
override this.SetContentHuggingPriorityForOrientation : single * AppKit.NSLayoutConstraintOrientation -> unit

Parameters

priority
Single
Attributes

Applies to