Share via


NSMenu.Notifications Class

Definition

Notifications posted by the NSMenu class.

public static class NSMenu.Notifications
type NSMenu.Notifications = class
Inheritance
NSMenu.Notifications

Remarks

This class contains various helper methods that allow developers to observe events posted in the notification hub (NSNotificationCenter).

The methods defined in this class post events that invoke the provided method or lambda with a NSNotificationEventArgs parameter, which contains strongly typed properties for the notification arguments.

Methods

Name Description
ObserveAnnouncementRequested(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the AnnouncementRequestedNotification constant.

ObserveAnnouncementRequested(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the AnnouncementRequestedNotification constant.

ObserveApplicationActivated(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ApplicationActivatedNotification constant.

ObserveApplicationActivated(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ApplicationActivatedNotification constant.

ObserveApplicationDeactivated(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ApplicationDeactivatedNotification constant.

ObserveApplicationDeactivated(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ApplicationDeactivatedNotification constant.

ObserveApplicationHidden(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ApplicationHiddenNotification constant.

ObserveApplicationHidden(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ApplicationHiddenNotification constant.

ObserveApplicationShown(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ApplicationShownNotification constant.

ObserveApplicationShown(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ApplicationShownNotification constant.

ObserveAutocorrectionOccurred(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the AutocorrectionOccurredNotification constant.

ObserveAutocorrectionOccurred(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the AutocorrectionOccurredNotification constant.

ObserveCreated(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the CreatedNotification constant.

ObserveCreated(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the CreatedNotification constant.

ObserveDidAddItem(EventHandler<NSMenuItemIndexEventArgs>)

Strongly typed notification for the DidAddItemNotification constant.

ObserveDidAddItem(NSObject, EventHandler<NSMenuItemIndexEventArgs>)

Strongly typed notification for the DidAddItemNotification constant.

ObserveDidBeginTracking(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidBeginTrackingNotification constant.

ObserveDidBeginTracking(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidBeginTrackingNotification constant.

ObserveDidChangeItem(EventHandler<NSMenuItemIndexEventArgs>)

Strongly typed notification for the DidChangeItemNotification constant.

ObserveDidChangeItem(NSObject, EventHandler<NSMenuItemIndexEventArgs>)

Strongly typed notification for the DidChangeItemNotification constant.

ObserveDidEndTracking(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidEndTrackingNotification constant.

ObserveDidEndTracking(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidEndTrackingNotification constant.

ObserveDidRemoveItem(EventHandler<NSMenuItemIndexEventArgs>)

Strongly typed notification for the DidRemoveItemNotification constant.

ObserveDidRemoveItem(NSObject, EventHandler<NSMenuItemIndexEventArgs>)

Strongly typed notification for the DidRemoveItemNotification constant.

ObserveDidSendAction(EventHandler<NSMenuItemEventArgs>)

Strongly typed notification for the DidSendActionNotification constant.

ObserveDidSendAction(NSObject, EventHandler<NSMenuItemEventArgs>)

Strongly typed notification for the DidSendActionNotification constant.

ObserveDraggingDestinationDragAccepted(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DraggingDestinationDragAcceptedNotification constant.

ObserveDraggingDestinationDragAccepted(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DraggingDestinationDragAcceptedNotification constant.

ObserveDraggingDestinationDragNotAccepted(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DraggingDestinationDragNotAcceptedNotification constant.

ObserveDraggingDestinationDragNotAccepted(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DraggingDestinationDragNotAcceptedNotification constant.

ObserveDraggingDestinationDropAllowed(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DraggingDestinationDropAllowedNotification constant.

ObserveDraggingDestinationDropAllowed(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DraggingDestinationDropAllowedNotification constant.

ObserveDraggingDestinationDropNotAllowed(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DraggingDestinationDropNotAllowedNotification constant.

ObserveDraggingDestinationDropNotAllowed(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DraggingDestinationDropNotAllowedNotification constant.

ObserveDraggingSourceDragBegan(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DraggingSourceDragBeganNotification constant.

ObserveDraggingSourceDragBegan(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DraggingSourceDragBeganNotification constant.

ObserveDraggingSourceDragEnded(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DraggingSourceDragEndedNotification constant.

ObserveDraggingSourceDragEnded(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DraggingSourceDragEndedNotification constant.

ObserveDrawerCreated(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DrawerCreatedNotification constant.

ObserveDrawerCreated(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DrawerCreatedNotification constant.

ObserveFocusedWindowChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the FocusedWindowChangedNotification constant.

ObserveFocusedWindowChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the FocusedWindowChangedNotification constant.

ObserveHelpTagCreated(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the HelpTagCreatedNotification constant.

ObserveHelpTagCreated(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the HelpTagCreatedNotification constant.

ObserveLayoutChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the LayoutChangedNotification constant.

ObserveLayoutChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the LayoutChangedNotification constant.

ObserveMainWindowChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MainWindowChangedNotification constant.

ObserveMainWindowChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MainWindowChangedNotification constant.

ObserveMoved(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MovedNotification constant.

ObserveMoved(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MovedNotification constant.

ObserveResized(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ResizedNotification constant.

ObserveResized(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ResizedNotification constant.

ObserveRowCollapsed(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the RowCollapsedNotification constant.

ObserveRowCollapsed(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the RowCollapsedNotification constant.

ObserveRowCountChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the RowCountChangedNotification constant.

ObserveRowCountChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the RowCountChangedNotification constant.

ObserveRowExpanded(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the RowExpandedNotification constant.

ObserveRowExpanded(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the RowExpandedNotification constant.

ObserveSelectedCellsChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SelectedCellsChangedNotification constant.

ObserveSelectedCellsChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SelectedCellsChangedNotification constant.

ObserveSelectedChildrenChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SelectedChildrenChangedNotification constant.

ObserveSelectedChildrenChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SelectedChildrenChangedNotification constant.

ObserveSelectedChildrenMoved(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SelectedChildrenMovedNotification constant.

ObserveSelectedChildrenMoved(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SelectedChildrenMovedNotification constant.

ObserveSelectedColumnsChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SelectedColumnsChangedNotification constant.

ObserveSelectedColumnsChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SelectedColumnsChangedNotification constant.

ObserveSelectedRowsChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SelectedRowsChangedNotification constant.

ObserveSelectedRowsChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SelectedRowsChangedNotification constant.

ObserveSelectedTextChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SelectedTextChangedNotification constant.

ObserveSelectedTextChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SelectedTextChangedNotification constant.

ObserveSheetCreated(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SheetCreatedNotification constant.

ObserveSheetCreated(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SheetCreatedNotification constant.

ObserveTextInputMarkingSessionBegan(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the TextInputMarkingSessionBeganNotification constant.

ObserveTextInputMarkingSessionBegan(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the TextInputMarkingSessionBeganNotification constant.

ObserveTextInputMarkingSessionEnded(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the TextInputMarkingSessionEndedNotification constant.

ObserveTextInputMarkingSessionEnded(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the TextInputMarkingSessionEndedNotification constant.

ObserveTitleChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the TitleChangedNotification constant.

ObserveTitleChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the TitleChangedNotification constant.

ObserveUIElementDestroyed(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UIElementDestroyedNotification constant.

ObserveUIElementDestroyed(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UIElementDestroyedNotification constant.

ObserveUIElementFocusedChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UIElementFocusedChangedNotification constant.

ObserveUIElementFocusedChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UIElementFocusedChangedNotification constant.

ObserveUnitsChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UnitsChangedNotification constant.

ObserveUnitsChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UnitsChangedNotification constant.

ObserveValueChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ValueChangedNotification constant.

ObserveValueChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ValueChangedNotification constant.

ObserveWillSendAction(EventHandler<NSMenuItemEventArgs>)

Strongly typed notification for the WillSendActionNotification constant.

ObserveWillSendAction(NSObject, EventHandler<NSMenuItemEventArgs>)

Strongly typed notification for the WillSendActionNotification constant.

ObserveWindowCreated(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WindowCreatedNotification constant.

ObserveWindowCreated(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WindowCreatedNotification constant.

ObserveWindowDeminiaturized(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WindowDeminiaturizedNotification constant.

ObserveWindowDeminiaturized(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WindowDeminiaturizedNotification constant.

ObserveWindowMiniaturized(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WindowMiniaturizedNotification constant.

ObserveWindowMiniaturized(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WindowMiniaturizedNotification constant.

ObserveWindowMoved(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WindowMovedNotification constant.

ObserveWindowMoved(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WindowMovedNotification constant.

ObserveWindowResized(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WindowResizedNotification constant.

ObserveWindowResized(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WindowResizedNotification constant.

Applies to