Language

SFKeychainSavePanel.BeginSheet Method

Definition

Overloads

Name Description
BeginSheet(String, String, NSWindow, Action<NSModalResponse>)

Displays the save panel as a sheet and invokes the callback when it closes.

BeginSheet(String, String, NSWindow, NSObject, Selector, IntPtr)

Displays the panel as a sheet starting in the specified directory with a suggested filename.

BeginSheet(String, String, NSWindow, Action<NSModalResponse>)

Displays the save panel as a sheet and invokes the callback when it closes.

public void BeginSheet(string? path, string? name, AppKit.NSWindow? docWindow, Action<AppKit.NSModalResponse> didEnd);
override this.BeginSheet : string * string * AppKit.NSWindow * Action<AppKit.NSModalResponse> -> unit

Parameters

path
String
name
String
docWindow
NSWindow

Applies to

BeginSheet(String, String, NSWindow, NSObject, Selector, IntPtr)

Displays the panel as a sheet starting in the specified directory with a suggested filename.

[Foundation.Export("beginSheetForDirectory:file:modalForWindow:modalDelegate:didEndSelector:contextInfo:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void BeginSheet(string? path, string? name, AppKit.NSWindow? docWindow, Foundation.NSObject? modalDelegate, ObjCRuntime.Selector? didEndSelector, IntPtr contextInfo);
[<Foundation.Export("beginSheetForDirectory:file:modalForWindow:modalDelegate:didEndSelector:contextInfo:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.BeginSheet : string * string * AppKit.NSWindow * Foundation.NSObject * ObjCRuntime.Selector * nativeint -> unit

Parameters

path
String

The directory to start in, or null for the default.

name
String

The suggested filename, or null.

docWindow
NSWindow

The window to which the sheet is attached.

modalDelegate
NSObject

The delegate that receives the did-end callback, or null.

didEndSelector
Selector

The selector invoked when the sheet ends, or null.

contextInfo
IntPtr

nativeint

A pointer to context information passed to the callback.

Attributes

Applies to