Presents the panel as a sheet modal to the specified window.
Original signature is '- (void)beginSheetModalForWindow:(NSWindow *)window completionHandler:(void (^)(NSInteger result))handler'
Available in Mac OS X v10.6 and later.
Declaration Syntax
Public Overridable Sub BeginSheetModalForWindowCompletionHandler ( _
window As NSWindow, _
handler As Action(Of NSInteger) _
)
Parameters
- window (NSWindow)
- The window in which the panel will be presented.
- handler (Action<(Of <(<'NSInteger>)>)>)
- The block called after the user has closed the panel. The argument passed in will be NSFileHandlingPanelOKButton if the user chose the OK button or NSFileHandlingPanelCancelButton if the user chose the Cancel button.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)
Assembly:
Monobjc.AppKit (Module: Monobjc.AppKit)