Tells the delegate that the window’s undo manager has been requested. Returns the appropriate undo manager for the window.
Original signature is '- (NSUndoManager *)windowWillReturnUndoManager:(NSWindow *)window'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public delegate NSUndoManager WindowWillReturnUndoManagerEventHandler( NSWindow window )
Public Delegate Function WindowWillReturnUndoManagerEventHandler ( _ window As NSWindow _ ) As NSUndoManager
public delegate NSUndoManager^ WindowWillReturnUndoManagerEventHandler( NSWindow^ window )

- window (NSWindow)
- The window whose undo manager is being requested.

The appropriate undo manager for the specified window.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)