共用方式為


NSViewController.PreferredContentSize 屬性

定義

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGSize PreferredContentSize { [Foundation.Export("preferredContentSize")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setPreferredContentSize:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.PreferredContentSize : CoreGraphics.CGSize with get, set

屬性值

屬性

適用於