共用方式為


NSApplication.BeginSheet 方法

定義

多載

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

BeginSheet(NSWindow, NSWindow)

public void BeginSheet (AppKit.NSWindow sheet, AppKit.NSWindow docWindow);
member this.BeginSheet : AppKit.NSWindow * AppKit.NSWindow -> unit

參數

sheet
NSWindow
docWindow
NSWindow

適用於

BeginSheet(NSWindow, NSWindow, Action)

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

參數

sheet
NSWindow
docWindow
NSWindow
onEnded
Action

適用於

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

[Foundation.Export("beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, "Use NSWindow.BeginSheet instead.")]
public virtual void BeginSheet (AppKit.NSWindow sheet, AppKit.NSWindow docWindow, Foundation.NSObject modalDelegate, ObjCRuntime.Selector didEndSelector, IntPtr contextInfo);
abstract member BeginSheet : AppKit.NSWindow * AppKit.NSWindow * Foundation.NSObject * ObjCRuntime.Selector * nativeint -> unit
override this.BeginSheet : AppKit.NSWindow * AppKit.NSWindow * Foundation.NSObject * ObjCRuntime.Selector * nativeint -> unit

參數

sheet
NSWindow
docWindow
NSWindow
modalDelegate
NSObject
didEndSelector
Selector
contextInfo
IntPtr

nativeint

屬性

適用於