共用方式為


NSView.SetContentCompressionResistancePriority 方法

定義

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

參數

priority
Single
屬性

適用於