NSToolbar.NSToolbarWillAddItemNotification Property

Definition

Notification posted when a toolbar is about to add an item.

[Foundation.Advice("Use NSToolbar.Notifications.ObserveNSToolbarWillAddItem helper method instead.")]
[Foundation.Field("NSToolbarWillAddItemNotification", "AppKit")]
public static Foundation.NSString NSToolbarWillAddItemNotification { get; }
[<Foundation.Advice("Use NSToolbar.Notifications.ObserveNSToolbarWillAddItem helper method instead.")>]
[<Foundation.Field("NSToolbarWillAddItemNotification", "AppKit")>]
static member NSToolbarWillAddItemNotification : Foundation.NSString

Property Value

NSString constant, should be used as a token to NSNotificationCenter.

Attributes

Remarks

The notification payload can be accessed using NSToolbarItemEventArgs.

Applies to