編輯

共用方式為


NSMenu.Notifications.ObserveMainWindowChanged Method

Definition

Overloads

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

ObserveMainWindowChanged(EventHandler<NSNotificationEventArgs>)

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

Parameters

Returns

Applies to

ObserveMainWindowChanged(NSObject, EventHandler<NSNotificationEventArgs>)

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

Parameters

objectToObserve
NSObject

Returns

Applies to