NSMenu.Notifications.ObserveMainWindowChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- handler
- EventHandler<NSNotificationEventArgs>
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
- handler
- EventHandler<NSNotificationEventArgs>