Editar

Compartilhar via


NSMenu.Notifications.ObserveFocusedWindowChanged Method

Definition

Overloads

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

ObserveFocusedWindowChanged(EventHandler<NSNotificationEventArgs>)

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

Parameters

Returns

Applies to

ObserveFocusedWindowChanged(NSObject, EventHandler<NSNotificationEventArgs>)

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

Parameters

objectToObserve
NSObject

Returns

Applies to