NSPopover.Notifications.ObserveWillClose 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
- handler
- EventHandler<NSPopoverCloseEventArgs>
返回
适用于
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
- handler
- EventHandler<NSPopoverCloseEventArgs>