NSWindow.ContentRectFor 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ContentRectFor(CGRect) | |
ContentRectFor(CGRect, NSWindowStyle) |
ContentRectFor(CGRect)
[Foundation.Export("contentRectForFrameRect:")]
public virtual CoreGraphics.CGRect ContentRectFor (CoreGraphics.CGRect frameRect);
abstract member ContentRectFor : CoreGraphics.CGRect -> CoreGraphics.CGRect
override this.ContentRectFor : CoreGraphics.CGRect -> CoreGraphics.CGRect
参数
- frameRect
- CGRect
返回
- 属性
适用于
ContentRectFor(CGRect, NSWindowStyle)
[Foundation.Export("contentRectForFrameRect:styleMask:")]
public static CoreGraphics.CGRect ContentRectFor (CoreGraphics.CGRect forFrameRect, AppKit.NSWindowStyle styleMask);
static member ContentRectFor : CoreGraphics.CGRect * AppKit.NSWindowStyle -> CoreGraphics.CGRect
参数
- forFrameRect
- CGRect
- styleMask
- NSWindowStyle
返回
- 属性