Tells the delegate that the window is about to show a sheet at the specified location, giving it the opportunity to return a custom location for the attachment of the sheet to the window.
Original signature is '- (NSRect)window:(NSWindow *)window willPositionSheet:(NSWindow *)sheet usingRect:(NSRect)rect'
Available in Mac OS X v10.3 and later.

Declaration Syntax
Public Delegate Function WindowWillPositionSheetUsingRectEventHandler ( _
window As NSWindow, _
sheet As NSWindow, _
rect As NSRect _
) As NSRect

Parameters
- window (NSWindow)
- The window containing the sheet to be animated.
- sheet (NSWindow)
- The sheet to be shown.
- rect (NSRect)
- The default sheet location, just under the title bar of the window, aligned with the left and right edges of the window.

Return Value
The custom location specified.

Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)
Assembly:
Monobjc.AppKit (Module: Monobjc.AppKit)