NSRulerView 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
NSRulerView() | |
NSRulerView(CGRect) | |
NSRulerView(NSCoder) | |
NSRulerView(NSObjectFlag) | |
NSRulerView(IntPtr) | |
NSRulerView(NSScrollView, NSRulerOrientation) |
NSRulerView()
NSRulerView(CGRect)
[Foundation.Export("initWithFrame:")]
public NSRulerView(CoreGraphics.CGRect frameRect);
new AppKit.NSRulerView : CoreGraphics.CGRect -> AppKit.NSRulerView
参数
- frameRect
- CGRect
- 属性
适用于
NSRulerView(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSRulerView(Foundation.NSCoder coder);
new AppKit.NSRulerView : Foundation.NSCoder -> AppKit.NSRulerView
参数
- coder
- NSCoder
- 属性
适用于
NSRulerView(NSObjectFlag)
protected NSRulerView(Foundation.NSObjectFlag t);
new AppKit.NSRulerView : Foundation.NSObjectFlag -> AppKit.NSRulerView
参数
适用于
NSRulerView(IntPtr)
protected internal NSRulerView(IntPtr handle);
new AppKit.NSRulerView : nativeint -> AppKit.NSRulerView
参数
- handle
-
IntPtr
nativeint
适用于
NSRulerView(NSScrollView, NSRulerOrientation)
[Foundation.Export("initWithScrollView:orientation:")]
[ObjCRuntime.DesignatedInitializer]
public NSRulerView(AppKit.NSScrollView scrollView, AppKit.NSRulerOrientation orientation);
new AppKit.NSRulerView : AppKit.NSScrollView * AppKit.NSRulerOrientation -> AppKit.NSRulerView
参数
- scrollView
- NSScrollView
- orientation
- NSRulerOrientation
- 属性