編輯

共用方式為


NSUndoManager.Notifications Class

Definition

Notification posted by the NSUndoManager class.

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

Remarks

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

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

Methods

ObserveCheckpoint(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the CheckpointNotification constant.

ObserveCheckpoint(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the CheckpointNotification constant.

ObserveDidCloseUndoGroup(EventHandler<NSUndoManagerCloseUndoGroupEventArgs>)

Strongly typed notification for the DidCloseUndoGroupNotification constant.

ObserveDidCloseUndoGroup(NSObject, EventHandler<NSUndoManagerCloseUndoGroupEventArgs>)

Strongly typed notification for the DidCloseUndoGroupNotification constant.

ObserveDidOpenUndoGroup(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidOpenUndoGroupNotification constant.

ObserveDidOpenUndoGroup(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidOpenUndoGroupNotification constant.

ObserveDidRedoChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidRedoChangeNotification constant.

ObserveDidRedoChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidRedoChangeNotification constant.

ObserveDidUndoChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidUndoChangeNotification constant.

ObserveDidUndoChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidUndoChangeNotification constant.

ObserveWillCloseUndoGroup(EventHandler<NSUndoManagerCloseUndoGroupEventArgs>)

Strongly typed notification for the WillCloseUndoGroupNotification constant.

ObserveWillCloseUndoGroup(NSObject, EventHandler<NSUndoManagerCloseUndoGroupEventArgs>)

Strongly typed notification for the WillCloseUndoGroupNotification constant.

ObserveWillRedoChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillRedoChangeNotification constant.

ObserveWillRedoChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillRedoChangeNotification constant.

ObserveWillUndoChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillUndoChangeNotification constant.

ObserveWillUndoChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillUndoChangeNotification constant.

Applies to