NSMenuView.SetWindowFrameForAttachingToRect Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:")]
public virtual void SetWindowFrameForAttachingToRect (CoreGraphics.CGRect screenRect, AppKit.NSScreen onScreen, AppKit.NSRectEdge preferredEdge, nint popupSelectedItem);
abstract member SetWindowFrameForAttachingToRect : CoreGraphics.CGRect * AppKit.NSScreen * AppKit.NSRectEdge * nint -> unit
override this.SetWindowFrameForAttachingToRect : CoreGraphics.CGRect * AppKit.NSScreen * AppKit.NSRectEdge * nint -> unit
Parameters
- screenRect
- CGRect
- onScreen
- NSScreen
- preferredEdge
- NSRectEdge
- popupSelectedItem
- System.System.IntPtr System.nativeint
- Attributes