Asks the delegate whether the specified window should zoom to the specified frame.
Original signature is '- (BOOL)windowShouldZoom:(NSWindow *)window toFrame:(NSRect)newFrame'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public event NSWindow..::..WindowShouldZoomToFrameEventHandler WindowShouldZoomToFrame
Public Event WindowShouldZoomToFrame As NSWindow..::..WindowShouldZoomToFrameEventHandler
public: event NSWindow..::..WindowShouldZoomToFrameEventHandler^ WindowShouldZoomToFrame { void add (NSWindow..::..WindowShouldZoomToFrameEventHandler^ value); void remove (NSWindow..::..WindowShouldZoomToFrameEventHandler^ value); }

YES to allow window’s frame to become newFrame; otherwise, NO.

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