Share via


NSViewController.PresentViewController Method

Definition

Overloads

PresentViewController(NSViewController, INSViewControllerPresentationAnimator)

[Foundation.Export("presentViewController:animator:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PresentViewController(AppKit.NSViewController viewController, AppKit.INSViewControllerPresentationAnimator animator);
[<Foundation.Export("presentViewController:animator:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PresentViewController : AppKit.NSViewController * AppKit.INSViewControllerPresentationAnimator -> unit
override this.PresentViewController : AppKit.NSViewController * AppKit.INSViewControllerPresentationAnimator -> unit

Parameters

viewController
NSViewController
Attributes

Applies to

PresentViewController(NSViewController, CGRect, NSView, UIntPtr, NSPopoverBehavior)

[Foundation.Export("presentViewController:asPopoverRelativeToRect:ofView:preferredEdge:behavior:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PresentViewController(AppKit.NSViewController viewController, CoreGraphics.CGRect positioningRect, AppKit.NSView positioningView, UIntPtr preferredEdge, AppKit.NSPopoverBehavior behavior);
[<Foundation.Export("presentViewController:asPopoverRelativeToRect:ofView:preferredEdge:behavior:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PresentViewController : AppKit.NSViewController * CoreGraphics.CGRect * AppKit.NSView * unativeint * AppKit.NSPopoverBehavior -> unit
override this.PresentViewController : AppKit.NSViewController * CoreGraphics.CGRect * AppKit.NSView * unativeint * AppKit.NSPopoverBehavior -> unit

Parameters

viewController
NSViewController
positioningRect
CGRect
positioningView
NSView
preferredEdge
UIntPtr

unativeint

Attributes

Applies to