Edytuj

Udostępnij za pośrednictwem


NSWindow.Notifications.ObserveDidBecomeKey Method

Definition

Overloads

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

ObserveDidBecomeKey(EventHandler<NSNotificationEventArgs>)

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

Parameters

Returns

Applies to

ObserveDidBecomeKey(NSObject, EventHandler<NSNotificationEventArgs>)

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

Parameters

objectToObserve
NSObject

Returns

Applies to