Share via


NSView.Notifications Class

Definition

Notifications posted by the NSView class.

public static class NSView.Notifications
type NSView.Notifications = class
Inheritance
NSView.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.

ObserveBoundsChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the BoundsChangedNotification constant.

ObserveBoundsChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the BoundsChangedNotification constant.

ObserveCreated(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the CreatedNotification constant.

ObserveCreated(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the CreatedNotification 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.

ObserveFocusChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the FocusChangedNotification constant.

ObserveFocusChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the FocusChangedNotification constant.

ObserveFocusedWindowChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the FocusedWindowChangedNotification constant.

ObserveFocusedWindowChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the FocusedWindowChangedNotification constant.

ObserveFrameChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the FrameChangedNotification constant.

ObserveFrameChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the FrameChangedNotification constant.

ObserveGlobalFrameChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the GlobalFrameChangedNotification constant.

ObserveGlobalFrameChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the GlobalFrameChangedNotification 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.

ObserveUpdatedTrackingAreas(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UpdatedTrackingAreasNotification constant.

ObserveUpdatedTrackingAreas(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UpdatedTrackingAreasNotification constant.

ObserveValueChanged(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ValueChangedNotification constant.

ObserveValueChanged(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ValueChangedNotification 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