NSScrollView.GetContentSizeForFrame 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[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
返回
- 属性