NSAlert.BeginSheet Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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
- handler
- Action<NSModalResponse>
- 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