NSToolbar.Notifications.ObserveNSToolbarWillAddItem 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
ObserveNSToolbarWillAddItem(EventHandler<NSToolbarItemEventArgs>) | |
ObserveNSToolbarWillAddItem(NSObject, EventHandler<NSToolbarItemEventArgs>) |
ObserveNSToolbarWillAddItem(EventHandler<NSToolbarItemEventArgs>)
public static Foundation.NSObject ObserveNSToolbarWillAddItem (EventHandler<AppKit.NSToolbarItemEventArgs> handler);
static member ObserveNSToolbarWillAddItem : EventHandler<AppKit.NSToolbarItemEventArgs> -> Foundation.NSObject
Parameters
- handler
- EventHandler<NSToolbarItemEventArgs>
Returns
Applies to
ObserveNSToolbarWillAddItem(NSObject, EventHandler<NSToolbarItemEventArgs>)
public static Foundation.NSObject ObserveNSToolbarWillAddItem (Foundation.NSObject objectToObserve, EventHandler<AppKit.NSToolbarItemEventArgs> handler);
static member ObserveNSToolbarWillAddItem : Foundation.NSObject * EventHandler<AppKit.NSToolbarItemEventArgs> -> Foundation.NSObject
Parameters
- objectToObserve
- NSObject
- handler
- EventHandler<NSToolbarItemEventArgs>