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
傳回
- 屬性