NSViewController.PresentViewController 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
PresentViewController(NSViewController, INSViewControllerPresentationAnimator) | |
PresentViewController(NSViewController, CGRect, NSView, nuint, NSPopoverBehavior) |
PresentViewController(NSViewController, INSViewControllerPresentationAnimator)
[Foundation.Export("presentViewController:animator:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void PresentViewController (AppKit.NSViewController viewController, AppKit.INSViewControllerPresentationAnimator animator);
abstract member PresentViewController : AppKit.NSViewController * AppKit.INSViewControllerPresentationAnimator -> unit
override this.PresentViewController : AppKit.NSViewController * AppKit.INSViewControllerPresentationAnimator -> unit
参数
- viewController
- NSViewController
- 属性
适用于
PresentViewController(NSViewController, CGRect, NSView, nuint, NSPopoverBehavior)
[Foundation.Export("presentViewController:asPopoverRelativeToRect:ofView:preferredEdge:behavior:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void PresentViewController (AppKit.NSViewController viewController, CoreGraphics.CGRect positioningRect, AppKit.NSView positioningView, nuint preferredEdge, AppKit.NSPopoverBehavior behavior);
abstract member PresentViewController : AppKit.NSViewController * CoreGraphics.CGRect * AppKit.NSView * nuint * AppKit.NSPopoverBehavior -> unit
override this.PresentViewController : AppKit.NSViewController * CoreGraphics.CGRect * AppKit.NSView * nuint * AppKit.NSPopoverBehavior -> unit
参数
- viewController
- NSViewController
- positioningRect
- CGRect
- positioningView
- NSView
- preferredEdge
- System.System.UIntPtr System.unativeint
- behavior
- NSPopoverBehavior
- 属性