Düzenle

Aracılığıyla paylaş


NSAlert.BeginSheet Method

Definition

Overloads

BeginSheet(NSWindow)
BeginSheet(NSWindow, Action)
BeginSheet(NSWindow, Action<NSModalResponse>)
BeginSheet(NSWindow, NSObject, Selector, IntPtr)

BeginSheet(NSWindow)

public void BeginSheet (AppKit.NSWindow window);
member this.BeginSheet : AppKit.NSWindow -> unit

Parameters

window
NSWindow

Applies to

BeginSheet(NSWindow, Action)

public void BeginSheet (AppKit.NSWindow window, Action onEnded);
member this.BeginSheet : AppKit.NSWindow * Action -> unit

Parameters

window
NSWindow
onEnded
Action

Applies to

BeginSheet(NSWindow, Action<NSModalResponse>)

[Foundation.Export("beginSheetModalForWindow:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void BeginSheet (AppKit.NSWindow Window, Action<AppKit.NSModalResponse> handler);
abstract member BeginSheet : AppKit.NSWindow * Action<AppKit.NSModalResponse> -> unit
override this.BeginSheet : AppKit.NSWindow * Action<AppKit.NSModalResponse> -> unit

Parameters

Window
NSWindow
Attributes

Applies to

BeginSheet(NSWindow, NSObject, Selector, IntPtr)

[Foundation.Export("beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, "Use BeginSheetModalForWindow (NSWindow sheetWindow, Action<nint> handler) instead.")]
public virtual void BeginSheet (AppKit.NSWindow window, Foundation.NSObject modalDelegate, ObjCRuntime.Selector didEndSelector, IntPtr contextInfo);
abstract member BeginSheet : AppKit.NSWindow * Foundation.NSObject * ObjCRuntime.Selector * nativeint -> unit
override this.BeginSheet : AppKit.NSWindow * Foundation.NSObject * ObjCRuntime.Selector * nativeint -> unit

Parameters

window
NSWindow
modalDelegate
NSObject
didEndSelector
Selector
contextInfo
IntPtr

nativeint

Attributes

Applies to