MonoMac 0.0.0.0 MonoMac.Foundation.NSObject MonoMac.Foundation.Register("NSUndoManager", true) Undo manager class. To be added.
- Constructor
  0.0.0.0
  MonoMac.Foundation.Export("init")
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
  Default constructor that initializes a new instance of this class with no parameters.
- Constructor
  0.0.0.0
  MonoMac.Foundation.Export("initWithCoder:")
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
  The unarchiver object.
  A constructor that initializes the object from the data stored in the unarchiver object.
  This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization).
- Constructor
  0.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
  Unused sentinel value, pass NSObjectFlag.Empty.
  Constructor to call on derived classes when the derived class has an [Export] constructor.

  This constructor should be called by derived classes when they are initialized using an [Export] attribute. The argument value is ignore, typically the chaining would look like this:

  public class MyClass : BaseClass { [Export ("initWithFoo:")] public MyClass (string foo) : base (NSObjectFlag.Empty) { ... }
- Constructor
  0.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
  Pointer (handle) to the unmanaged object.
  A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

  This constructor is invoked by the runtime infrastructure () to create a new managed representation for a pointer to an unmanaged Objective-C object. You should not invoke this method directly, instead you should call the GetNSObject method as it will prevent two instances of a managed object to point to the same native object.

- Method
  0.0.0.0
  MonoMac.Foundation.Export("beginUndoGrouping")
  System.Void To be added. To be added.
- Property
  0.0.0.0
  get: MonoMac.Foundation.Export("canRedo")
  System.Boolean To be added. To be added. To be added.
- Property
  0.0.0.0
  get: MonoMac.Foundation.Export("canUndo")
  System.Boolean To be added. To be added. To be added.
- Property
  0.0.0.0
  MonoMac.Foundation.NSString Notification constant for Checkpoint NSString constant, should be used as a token to NSNotificationCenter.

  This constant can be used with the to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.

  If you want to subscribe to this notification, you can use the convenience . method which offers strongly typed access to the parameters of the notification.

  The following example shows how to use the strongly typed Notifications class, to take the guesswork out of the available properties in the notification:

  `// // Lambda style // // listening notification = NSUndoManager.Notifications.ObserveCheckpoint ((sender, args) => { /* Access strongly typed args */ Console.WriteLine ("Notification: {0}", args.Notification); }); // To stop listening: notification.Dispose (); // // Method style // NSObject notification; void Callback (object sender, Checkpoint args) { // Access strongly typed args Console.WriteLine ("Notification: {0}", args.Notification); } void Setup () { notification = NSUndoManager.Notifications.ObserveCheckpoint (Callback); } void Teardown () { notification.Dispose (); }`

  The following example shows how to use the notification with the DefaultCenter API:

  `// Lambda style NSNotificationCenter.DefaultCenter.AddObserver ( NSUndoManager.CheckpointNotification, (notification) => {Console.WriteLine ("Received the notification NSUndoManager", notification); } // Method style void Callback (NSNotification notification) { Console.WriteLine ("Received a notification NSUndoManager", notification); } void Setup () { NSNotificationCenter.DefaultCenter.AddObserver (NSUndoManager.CheckpointNotification, Callback); }`
- Property
  0.0.0.0
  System.IntPtr The handle for this class. The pointer to the Objective-C class. Each MonoMac class mirrors an unmanaged Objective-C class. This value contains the pointer to the Objective-C class, it is similar to calling objc_getClass with the object name.
- Property
  0.0.0.0
  MonoMac.Foundation.NSString Notification constant for DidCloseUndoGroup NSString constant, should be used as a token to NSNotificationCenter.

  This constant can be used with the to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.

  If you want to subscribe to this notification, you can use the convenience . method which offers strongly typed access to the parameters of the notification.

  The following example shows how to use the strongly typed Notifications class, to take the guesswork out of the available properties in the notification:

  `// // Lambda style // // listening notification = NSUndoManager.Notifications.ObserveDidCloseUndoGroup ((sender, args) => { /* Access strongly typed args */ Console.WriteLine ("Notification: {0}", args.Notification); Console.WriteLine ("Discardable", args.Discardable); }); // To stop listening: notification.Dispose (); // // Method style // NSObject notification; void Callback (object sender, DidCloseUndoGroup args) { // Access strongly typed args Console.WriteLine ("Notification: {0}", args.Notification); Console.WriteLine ("Discardable", args.Discardable); } void Setup () { notification = NSUndoManager.Notifications.ObserveDidCloseUndoGroup (Callback); } void Teardown () { notification.Dispose (); }`

  The following example shows how to use the notification with the DefaultCenter API:

  `// Lambda style NSNotificationCenter.DefaultCenter.AddObserver ( NSUndoManager.DidCloseUndoGroupNotification, (notification) => {Console.WriteLine ("Received the notification NSUndoManager", notification); } // Method style void Callback (NSNotification notification) { Console.WriteLine ("Received a notification NSUndoManager", notification); } void Setup () { NSNotificationCenter.DefaultCenter.AddObserver (NSUndoManager.DidCloseUndoGroupNotification, Callback); }`
- Property
  0.0.0.0
  MonoMac.Foundation.NSString Notification constant for DidOpenUndoGroup NSString constant, should be used as a token to NSNotificationCenter.

  This constant can be used with the to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.

  If you want to subscribe to this notification, you can use the convenience . method which offers strongly typed access to the parameters of the notification.

  The following example shows how to use the strongly typed Notifications class, to take the guesswork out of the available properties in the notification:

  `// // Lambda style // // listening notification = NSUndoManager.Notifications.ObserveDidOpenUndoGroup ((sender, args) => { /* Access strongly typed args */ Console.WriteLine ("Notification: {0}", args.Notification); }); // To stop listening: notification.Dispose (); // // Method style // NSObject notification; void Callback (object sender, DidOpenUndoGroup args) { // Access strongly typed args Console.WriteLine ("Notification: {0}", args.Notification); } void Setup () { notification = NSUndoManager.Notifications.ObserveDidOpenUndoGroup (Callback); } void Teardown () { notification.Dispose (); }`

  The following example shows how to use the notification with the DefaultCenter API:

  `// Lambda style NSNotificationCenter.DefaultCenter.AddObserver ( NSUndoManager.DidOpenUndoGroupNotification, (notification) => {Console.WriteLine ("Received the notification NSUndoManager", notification); } // Method style void Callback (NSNotification notification) { Console.WriteLine ("Received a notification NSUndoManager", notification); } void Setup () { NSNotificationCenter.DefaultCenter.AddObserver (NSUndoManager.DidOpenUndoGroupNotification, Callback); }`
- Property
  0.0.0.0
  MonoMac.Foundation.NSString Notification constant for DidRedoChange NSString constant, should be used as a token to NSNotificationCenter.

  This constant can be used with the to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.

  If you want to subscribe to this notification, you can use the convenience . method which offers strongly typed access to the parameters of the notification.

  The following example shows how to use the strongly typed Notifications class, to take the guesswork out of the available properties in the notification:

  `// // Lambda style // // listening notification = NSUndoManager.Notifications.ObserveDidRedoChange ((sender, args) => { /* Access strongly typed args */ Console.WriteLine ("Notification: {0}", args.Notification); }); // To stop listening: notification.Dispose (); // // Method style // NSObject notification; void Callback (object sender, DidRedoChange args) { // Access strongly typed args Console.WriteLine ("Notification: {0}", args.Notification); } void Setup () { notification = NSUndoManager.Notifications.ObserveDidRedoChange (Callback); } void Teardown () { notification.Dispose (); }`

  The following example shows how to use the notification with the DefaultCenter API:

  `// Lambda style NSNotificationCenter.DefaultCenter.AddObserver ( NSUndoManager.DidRedoChangeNotification, (notification) => {Console.WriteLine ("Received the notification NSUndoManager", notification); } // Method style void Callback (NSNotification notification) { Console.WriteLine ("Received a notification NSUndoManager", notification); } void Setup () { NSNotificationCenter.DefaultCenter.AddObserver (NSUndoManager.DidRedoChangeNotification, Callback); }`
- Property
  0.0.0.0
  MonoMac.Foundation.NSString Notification constant for DidUndoChange NSString constant, should be used as a token to NSNotificationCenter.

  This constant can be used with the to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.

  If you want to subscribe to this notification, you can use the convenience . method which offers strongly typed access to the parameters of the notification.

  The following example shows how to use the strongly typed Notifications class, to take the guesswork out of the available properties in the notification:

  `// // Lambda style // // listening notification = NSUndoManager.Notifications.ObserveDidUndoChange ((sender, args) => { /* Access strongly typed args */ Console.WriteLine ("Notification: {0}", args.Notification); }); // To stop listening: notification.Dispose (); // // Method style // NSObject notification; void Callback (object sender, DidUndoChange args) { // Access strongly typed args Console.WriteLine ("Notification: {0}", args.Notification); } void Setup () { notification = NSUndoManager.Notifications.ObserveDidUndoChange (Callback); } void Teardown () { notification.Dispose (); }`

  The following example shows how to use the notification with the DefaultCenter API:

  `// Lambda style NSNotificationCenter.DefaultCenter.AddObserver ( NSUndoManager.DidUndoChangeNotification, (notification) => {Console.WriteLine ("Received the notification NSUndoManager", notification); } // Method style void Callback (NSNotification notification) { Console.WriteLine ("Received a notification NSUndoManager", notification); } void Setup () { NSNotificationCenter.DefaultCenter.AddObserver (NSUndoManager.DidUndoChangeNotification, Callback); }`
- Method
  0.0.0.0
  MonoMac.Foundation.Export("disableUndoRegistration")
  System.Void To be added. To be added.
- Method
  0.0.0.0
  MonoMac.Foundation.Export("enableUndoRegistration")
  System.Void To be added. To be added.
- Method
  0.0.0.0
  MonoMac.Foundation.Export("endUndoGrouping")
  System.Void To be added. To be added.
- Property
  0.0.0.0
  get: MonoMac.Foundation.Export("groupingLevel")
  System.Int32 To be added. To be added. To be added.
- Property
  0.0.0.0
  MonoMac.Foundation.NSString Represents the value associated with the constant NSUndoManagerGroupIsDiscardableKey To be added.
- Property
  0.0.0.0
  get: MonoMac.Foundation.Export("groupsByEvent")
  set: MonoMac.Foundation.Export("setGroupsByEvent:")
  System.Boolean To be added. To be added. To be added.
- Property
  0.0.0.0
  get: MonoMac.Foundation.Export("isRedoing")
  System.Boolean To be added. To be added. To be added.
- Property
  0.0.0.0
  get: MonoMac.Foundation.Export("isUndoing")
  System.Boolean To be added. To be added. To be added.
- Property
  0.0.0.0
  get: MonoMac.Foundation.Export("isUndoRegistrationEnabled")
  System.Boolean To be added. To be added. To be added.
- Property
  0.0.0.0
  get: MonoMac.Foundation.Export("levelsOfUndo")
  set: MonoMac.Foundation.Export("setLevelsOfUndo:")
  System.Int32 To be added. To be added. To be added.
- Method
  0.0.0.0
  MonoMac.Foundation.Export("prepareWithInvocationTarget:")
  MonoMac.Foundation.NSObject `` To be added. To be added. To be added. To be added.
- Method
  0.0.0.0
  MonoMac.Foundation.Export("redo")
  System.Void To be added. To be added.
- Property
  0.0.0.0
  MonoMac.ObjCRuntime.Since(5, 0)
  get: MonoMac.Foundation.Export("redoActionIsDiscardable")
  System.Boolean To be added. To be added. To be added.
- Property
  0.0.0.0
  get: MonoMac.Foundation.Export("redoActionName")
  System.String To be added. To be added. To be added.
- Property
  0.0.0.0
  get: MonoMac.Foundation.Export("redoMenuItemTitle")
  System.String To be added. To be added. To be added.
- Method
  0.0.0.0
  MonoMac.Foundation.Export("redoMenuTitleForUndoActionName:")
  System.String `` To be added. To be added. To be added. To be added.
- Method
  0.0.0.0
  MonoMac.Foundation.Export("registerUndoWithTarget:selector:object:")
  System.Void `` `` `` To be added. To be added. To be added. To be added. To be added.
- Method
  0.0.0.0
  MonoMac.Foundation.Export("removeAllActions")
  System.Void To be added. To be added.
- Method
  0.0.0.0
  MonoMac.Foundation.Export("removeAllActionsWithTarget:")
  System.Void `` To be added. To be added. To be added.
- Property
  0.0.0.0
  get: MonoMac.Foundation.Export("runLoopModes")
  set: MonoMac.Foundation.Export("setRunLoopModes:")
  System.String[] To be added. To be added. To be added.
- Method
  0.0.0.0
  MonoMac.Foundation.Export("setActionIsDiscardable:")
  System.Void `` To be added. To be added. To be added.
- Method
  0.0.0.0
  MonoMac.Foundation.Export("setActionName:")
  System.Void `` To be added. To be added. To be added.
- Method
  0.0.0.0
  MonoMac.Foundation.Export("undo")
  System.Void To be added. To be added.
- Property
  0.0.0.0
  MonoMac.ObjCRuntime.Since(5, 0)
  get: MonoMac.Foundation.Export("undoActionIsDiscardable")
  System.Boolean To be added. To be added. To be added.
- Property
  0.0.0.0
  get: MonoMac.Foundation.Export("undoActionName")
  System.String To be added. To be added. To be added.
- Property
  0.0.0.0
  get: MonoMac.Foundation.Export("undoMenuItemTitle")
  System.String To be added. To be added. To be added.
- Method
  0.0.0.0
  MonoMac.Foundation.Export("undoMenuTitleForUndoActionName:")
  System.String `` To be added. To be added. To be added. To be added.
- Method
  0.0.0.0
  MonoMac.Foundation.Export("undoNestedGroup")
  System.Void To be added. To be added.
- Property
  0.0.0.0
  MonoMac.Foundation.NSString Notification constant for WillCloseUndoGroup NSString constant, should be used as a token to NSNotificationCenter.

  This constant can be used with the to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.

  If you want to subscribe to this notification, you can use the convenience . method which offers strongly typed access to the parameters of the notification.

  The following example shows how to use the strongly typed Notifications class, to take the guesswork out of the available properties in the notification:

  `// // Lambda style // // listening notification = NSUndoManager.Notifications.ObserveWillCloseUndoGroup ((sender, args) => { /* Access strongly typed args */ Console.WriteLine ("Notification: {0}", args.Notification); Console.WriteLine ("Discardable", args.Discardable); }); // To stop listening: notification.Dispose (); // // Method style // NSObject notification; void Callback (object sender, WillCloseUndoGroup args) { // Access strongly typed args Console.WriteLine ("Notification: {0}", args.Notification); Console.WriteLine ("Discardable", args.Discardable); } void Setup () { notification = NSUndoManager.Notifications.ObserveWillCloseUndoGroup (Callback); } void Teardown () { notification.Dispose (); }`

  The following example shows how to use the notification with the DefaultCenter API:

  `// Lambda style NSNotificationCenter.DefaultCenter.AddObserver ( NSUndoManager.WillCloseUndoGroupNotification, (notification) => {Console.WriteLine ("Received the notification NSUndoManager", notification); } // Method style void Callback (NSNotification notification) { Console.WriteLine ("Received a notification NSUndoManager", notification); } void Setup () { NSNotificationCenter.DefaultCenter.AddObserver (NSUndoManager.WillCloseUndoGroupNotification, Callback); }`
- Property
  0.0.0.0
  MonoMac.Foundation.NSString Notification constant for WillRedoChange NSString constant, should be used as a token to NSNotificationCenter.

  This constant can be used with the to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.

  If you want to subscribe to this notification, you can use the convenience . method which offers strongly typed access to the parameters of the notification.

  The following example shows how to use the strongly typed Notifications class, to take the guesswork out of the available properties in the notification:

  `// // Lambda style // // listening notification = NSUndoManager.Notifications.ObserveWillRedoChange ((sender, args) => { /* Access strongly typed args */ Console.WriteLine ("Notification: {0}", args.Notification); }); // To stop listening: notification.Dispose (); // // Method style // NSObject notification; void Callback (object sender, WillRedoChange args) { // Access strongly typed args Console.WriteLine ("Notification: {0}", args.Notification); } void Setup () { notification = NSUndoManager.Notifications.ObserveWillRedoChange (Callback); } void Teardown () { notification.Dispose (); }`

  The following example shows how to use the notification with the DefaultCenter API:

  `// Lambda style NSNotificationCenter.DefaultCenter.AddObserver ( NSUndoManager.WillRedoChangeNotification, (notification) => {Console.WriteLine ("Received the notification NSUndoManager", notification); } // Method style void Callback (NSNotification notification) { Console.WriteLine ("Received a notification NSUndoManager", notification); } void Setup () { NSNotificationCenter.DefaultCenter.AddObserver (NSUndoManager.WillRedoChangeNotification, Callback); }`
- Property
  0.0.0.0
  MonoMac.Foundation.NSString Notification constant for WillUndoChange NSString constant, should be used as a token to NSNotificationCenter.

  This constant can be used with the to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.

  If you want to subscribe to this notification, you can use the convenience . method which offers strongly typed access to the parameters of the notification.

  The following example shows how to use the strongly typed Notifications class, to take the guesswork out of the available properties in the notification:

  `// // Lambda style // // listening notification = NSUndoManager.Notifications.ObserveWillUndoChange ((sender, args) => { /* Access strongly typed args */ Console.WriteLine ("Notification: {0}", args.Notification); }); // To stop listening: notification.Dispose (); // // Method style // NSObject notification; void Callback (object sender, WillUndoChange args) { // Access strongly typed args Console.WriteLine ("Notification: {0}", args.Notification); } void Setup () { notification = NSUndoManager.Notifications.ObserveWillUndoChange (Callback); } void Teardown () { notification.Dispose (); }`

  The following example shows how to use the notification with the DefaultCenter API:

  `// Lambda style NSNotificationCenter.DefaultCenter.AddObserver ( NSUndoManager.WillUndoChangeNotification, (notification) => {Console.WriteLine ("Received the notification NSUndoManager", notification); } // Method style void Callback (NSNotification notification) { Console.WriteLine ("Received a notification NSUndoManager", notification); } void Setup () { NSNotificationCenter.DefaultCenter.AddObserver (NSUndoManager.WillUndoChangeNotification, Callback); }`