Поделиться через


NSScrollView.GetFrameSizeForContent Метод

Определение

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

Параметры

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

Возвращаемое значение

Атрибуты

Применяется к