共用方式為


NSView.Notifications.ObserveFocusChanged 方法

定義

多載

ObserveFocusChanged(NSObject, EventHandler<NSNotificationEventArgs>)
ObserveFocusChanged(EventHandler<NSNotificationEventArgs>)

ObserveFocusChanged(NSObject, EventHandler<NSNotificationEventArgs>)

public static Foundation.NSObject ObserveFocusChanged (Foundation.NSObject objectToObserve, EventHandler<Foundation.NSNotificationEventArgs> handler);
static member ObserveFocusChanged : Foundation.NSObject * EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject

參數

objectToObserve
NSObject

傳回

適用於

ObserveFocusChanged(EventHandler<NSNotificationEventArgs>)

public static Foundation.NSObject ObserveFocusChanged (EventHandler<Foundation.NSNotificationEventArgs> handler);
static member ObserveFocusChanged : EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject

參數

傳回

適用於