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>