共用方式為


NSScrollView.GetContentSizeForFrame 方法

定義

[Foundation.Export("contentSizeForFrameSize:horizontalScrollerClass:verticalScrollerClass:borderType:controlSize:scrollerStyle:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public static CoreGraphics.CGSize GetContentSizeForFrame (CoreGraphics.CGSize forFrameSize, ObjCRuntime.Class horizontalScrollerClass, ObjCRuntime.Class verticalScrollerClass, AppKit.NSBorderType borderType, AppKit.NSControlSize controlSize, AppKit.NSScrollerStyle scrollerStyle);
static member GetContentSizeForFrame : CoreGraphics.CGSize * ObjCRuntime.Class * ObjCRuntime.Class * AppKit.NSBorderType * AppKit.NSControlSize * AppKit.NSScrollerStyle -> CoreGraphics.CGSize

參數

forFrameSize
CGSize
horizontalScrollerClass
Class
verticalScrollerClass
Class
borderType
NSBorderType
controlSize
NSControlSize
scrollerStyle
NSScrollerStyle

傳回

屬性

適用於