NSPopover.Notifications.ObserveWillClose 方法

定义

重载

ObserveWillClose(EventHandler<NSPopoverCloseEventArgs>)
ObserveWillClose(NSObject, EventHandler<NSPopoverCloseEventArgs>)

ObserveWillClose(EventHandler<NSPopoverCloseEventArgs>)

public static Foundation.NSObject ObserveWillClose (EventHandler<AppKit.NSPopoverCloseEventArgs> handler);
static member ObserveWillClose : EventHandler<AppKit.NSPopoverCloseEventArgs> -> Foundation.NSObject

参数

返回

适用于

ObserveWillClose(NSObject, EventHandler<NSPopoverCloseEventArgs>)

public static Foundation.NSObject ObserveWillClose (Foundation.NSObject objectToObserve, EventHandler<AppKit.NSPopoverCloseEventArgs> handler);
static member ObserveWillClose : Foundation.NSObject * EventHandler<AppKit.NSPopoverCloseEventArgs> -> Foundation.NSObject

参数

objectToObserve
NSObject

返回

适用于