Share via


INSWindowDelegate Interface

Definition

This interface represents the Objective-C protocol NSWindowDelegate.

[Foundation.Protocol(Name="NSWindowDelegate", WrapperType=typeof(AppKit.NSWindowDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WindowShouldClose", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSObject) }, ReturnType=typeof(System.Boolean), Selector="windowShouldClose:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillReturnFieldEditor", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(Foundation.NSObject) }, ReturnType=typeof(Foundation.NSObject), Selector="windowWillReturnFieldEditor:toObject:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillResize", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(CoreGraphics.CGSize) }, ReturnType=typeof(CoreGraphics.CGSize), Selector="windowWillResize:toSize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillUseStandardFrame", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="windowWillUseStandardFrame:defaultFrame:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldZoom", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(System.Boolean), Selector="windowShouldZoom:toFrame:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillReturnUndoManager", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow) }, ReturnType=typeof(Foundation.NSUndoManager), Selector="windowWillReturnUndoManager:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPositionSheet", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(AppKit.NSWindow), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="window:willPositionSheet:usingRect:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldPopUpDocumentPathMenu", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(AppKit.NSMenu) }, ReturnType=typeof(System.Boolean), Selector="window:shouldPopUpDocumentPathMenu:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldDragDocumentWithEvent", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(AppKit.NSEvent), typeof(CoreGraphics.CGPoint), typeof(AppKit.NSPasteboard) }, ReturnType=typeof(System.Boolean), Selector="window:shouldDragDocumentWithEvent:from:withPasteboard:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidResize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidResize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidExpose", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidExpose:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillMove", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillMove:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidMove", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidMove:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidBecomeKey", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidBecomeKey:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidResignKey", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidResignKey:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidBecomeMain", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidBecomeMain:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidResignMain", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidResignMain:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillClose", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillClose:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillMiniaturize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillMiniaturize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidMiniaturize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidMiniaturize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDeminiaturize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidDeminiaturize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUpdate", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidUpdate:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidChangeScreen:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeScreenProfile", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidChangeScreenProfile:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillBeginSheet", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillBeginSheet:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEndSheet", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidEndSheet:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStartLiveResize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillStartLiveResize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEndLiveResize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidEndLiveResize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillEnterFullScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillEnterFullScreen:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEnterFullScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidEnterFullScreen:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillExitFullScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillExitFullScreen:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidExitFullScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidExitFullScreen:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFailToEnterFullScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow) }, Selector="windowDidFailToEnterFullScreen:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFailToExitFullScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow) }, Selector="windowDidFailToExitFullScreen:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillUseFullScreenContentSize", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(CoreGraphics.CGSize) }, ReturnType=typeof(CoreGraphics.CGSize), Selector="window:willUseFullScreenContentSize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillUseFullScreenPresentationOptions", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(AppKit.NSApplicationPresentationOptions) }, ReturnType=typeof(AppKit.NSApplicationPresentationOptions), Selector="window:willUseFullScreenPresentationOptions:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CustomWindowsToEnterFullScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow) }, ReturnType=typeof(AppKit.NSWindow[]), Selector="customWindowsToEnterFullScreenForWindow:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CustomWindowsToExitFullScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow) }, ReturnType=typeof(AppKit.NSWindow[]), Selector="customWindowsToExitFullScreenForWindow:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StartCustomAnimationToEnterFullScreen", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(System.Double) }, Selector="window:startCustomAnimationToEnterFullScreenWithDuration:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StartCustomAnimationToExitFullScreen", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(System.Double) }, Selector="window:startCustomAnimationToExitFullScreenWithDuration:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillEncodeRestorableState", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(Foundation.NSCoder) }, Selector="window:willEncodeRestorableState:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDecodeRestorableState", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(Foundation.NSCoder) }, Selector="window:didDecodeRestorableState:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPreviewRepresentableActivityItems", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow) }, ReturnType=typeof(AppKit.INSPreviewRepresentableActivityItem[]), Selector="previewRepresentableActivityItemsForWindow:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillResizeForVersionBrowser", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(CoreGraphics.CGSize), typeof(CoreGraphics.CGSize) }, ReturnType=typeof(CoreGraphics.CGSize), Selector="window:willResizeForVersionBrowserWithMaxPreferredSize:maxAllowedSize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillEnterVersionBrowser", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillEnterVersionBrowser:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEnterVersionBrowser", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidEnterVersionBrowser:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillExitVersionBrowser", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillExitVersionBrowser:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidExitVersionBrowser", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidExitVersionBrowser:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeBackingProperties", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidChangeBackingProperties:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetWindowForSharingRequest", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow) }, ReturnType=typeof(AppKit.NSWindow), Selector="windowForSharingRequestFromWindow:")]
public interface INSWindowDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSWindowDelegate", WrapperType=typeof(AppKit.NSWindowDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WindowShouldClose", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSObject) }, ReturnType=typeof(System.Boolean), Selector="windowShouldClose:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillReturnFieldEditor", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(Foundation.NSObject) }, ReturnType=typeof(Foundation.NSObject), Selector="windowWillReturnFieldEditor:toObject:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillResize", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(CoreGraphics.CGSize) }, ReturnType=typeof(CoreGraphics.CGSize), Selector="windowWillResize:toSize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillUseStandardFrame", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="windowWillUseStandardFrame:defaultFrame:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldZoom", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(System.Boolean), Selector="windowShouldZoom:toFrame:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillReturnUndoManager", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow) }, ReturnType=typeof(Foundation.NSUndoManager), Selector="windowWillReturnUndoManager:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPositionSheet", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(AppKit.NSWindow), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="window:willPositionSheet:usingRect:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldPopUpDocumentPathMenu", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(AppKit.NSMenu) }, ReturnType=typeof(System.Boolean), Selector="window:shouldPopUpDocumentPathMenu:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldDragDocumentWithEvent", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(AppKit.NSEvent), typeof(CoreGraphics.CGPoint), typeof(AppKit.NSPasteboard) }, ReturnType=typeof(System.Boolean), Selector="window:shouldDragDocumentWithEvent:from:withPasteboard:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidResize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidResize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidExpose", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidExpose:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillMove", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillMove:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidMove", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidMove:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidBecomeKey", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidBecomeKey:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidResignKey", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidResignKey:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidBecomeMain", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidBecomeMain:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidResignMain", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidResignMain:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillClose", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillClose:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillMiniaturize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillMiniaturize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidMiniaturize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidMiniaturize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDeminiaturize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidDeminiaturize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUpdate", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidUpdate:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidChangeScreen:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeScreenProfile", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidChangeScreenProfile:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillBeginSheet", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillBeginSheet:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEndSheet", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidEndSheet:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStartLiveResize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillStartLiveResize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEndLiveResize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidEndLiveResize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillEnterFullScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillEnterFullScreen:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEnterFullScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidEnterFullScreen:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillExitFullScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillExitFullScreen:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidExitFullScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidExitFullScreen:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFailToEnterFullScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow) }, Selector="windowDidFailToEnterFullScreen:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFailToExitFullScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow) }, Selector="windowDidFailToExitFullScreen:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillUseFullScreenContentSize", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(CoreGraphics.CGSize) }, ReturnType=typeof(CoreGraphics.CGSize), Selector="window:willUseFullScreenContentSize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillUseFullScreenPresentationOptions", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(AppKit.NSApplicationPresentationOptions) }, ReturnType=typeof(AppKit.NSApplicationPresentationOptions), Selector="window:willUseFullScreenPresentationOptions:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CustomWindowsToEnterFullScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow) }, ReturnType=typeof(AppKit.NSWindow[]), Selector="customWindowsToEnterFullScreenForWindow:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CustomWindowsToExitFullScreen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow) }, ReturnType=typeof(AppKit.NSWindow[]), Selector="customWindowsToExitFullScreenForWindow:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StartCustomAnimationToEnterFullScreen", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(System.Double) }, Selector="window:startCustomAnimationToEnterFullScreenWithDuration:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StartCustomAnimationToExitFullScreen", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(System.Double) }, Selector="window:startCustomAnimationToExitFullScreenWithDuration:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillEncodeRestorableState", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(Foundation.NSCoder) }, Selector="window:willEncodeRestorableState:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDecodeRestorableState", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(Foundation.NSCoder) }, Selector="window:didDecodeRestorableState:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPreviewRepresentableActivityItems", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow) }, ReturnType=typeof(AppKit.INSPreviewRepresentableActivityItem[]), Selector="previewRepresentableActivityItemsForWindow:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillResizeForVersionBrowser", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow), typeof(CoreGraphics.CGSize), typeof(CoreGraphics.CGSize) }, ReturnType=typeof(CoreGraphics.CGSize), Selector="window:willResizeForVersionBrowserWithMaxPreferredSize:maxAllowedSize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillEnterVersionBrowser", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillEnterVersionBrowser:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEnterVersionBrowser", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidEnterVersionBrowser:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillExitVersionBrowser", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowWillExitVersionBrowser:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidExitVersionBrowser", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidExitVersionBrowser:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeBackingProperties", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="windowDidChangeBackingProperties:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetWindowForSharingRequest", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSWindow) }, ReturnType=typeof(AppKit.NSWindow), Selector="windowForSharingRequestFromWindow:")>]
type INSWindowDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
CustomWindowsToEnterFullScreen(NSWindow)
CustomWindowsToExitFullScreen(NSWindow)
DidBecomeKey(NSNotification)
DidBecomeMain(NSNotification)
DidChangeBackingProperties(NSNotification)
DidChangeScreen(NSNotification)
DidChangeScreenProfile(NSNotification)
DidDecodeRestorableState(NSWindow, NSCoder)
DidDeminiaturize(NSNotification)
DidEndLiveResize(NSNotification)
DidEndSheet(NSNotification)
DidEnterFullScreen(NSNotification)
DidEnterVersionBrowser(NSNotification)
DidExitFullScreen(NSNotification)
DidExitVersionBrowser(NSNotification)
DidExpose(NSNotification)
DidFailToEnterFullScreen(NSWindow)
DidFailToExitFullScreen(NSWindow)
DidMiniaturize(NSNotification)
DidMove(NSNotification)
DidResignKey(NSNotification)
DidResignMain(NSNotification)
DidResize(NSNotification)
DidUpdate(NSNotification)
GetPreviewRepresentableActivityItems(NSWindow)
GetWindowForSharingRequest(NSWindow)
ShouldDragDocumentWithEvent(NSWindow, NSEvent, CGPoint, NSPasteboard)
ShouldPopUpDocumentPathMenu(NSWindow, NSMenu)
ShouldZoom(NSWindow, CGRect)
StartCustomAnimationToEnterFullScreen(NSWindow, Double)
StartCustomAnimationToExitFullScreen(NSWindow, Double)
WillBeginSheet(NSNotification)
WillClose(NSNotification)
WillEncodeRestorableState(NSWindow, NSCoder)
WillEnterFullScreen(NSNotification)
WillEnterVersionBrowser(NSNotification)
WillExitFullScreen(NSNotification)
WillExitVersionBrowser(NSNotification)
WillMiniaturize(NSNotification)
WillMove(NSNotification)
WillPositionSheet(NSWindow, NSWindow, CGRect)
WillResize(NSWindow, CGSize)
WillResizeForVersionBrowser(NSWindow, CGSize, CGSize)
WillReturnFieldEditor(NSWindow, NSObject)
WillReturnUndoManager(NSWindow)
WillStartLiveResize(NSNotification)
WillUseFullScreenContentSize(NSWindow, CGSize)
WillUseFullScreenPresentationOptions(NSWindow, NSApplicationPresentationOptions)
WillUseStandardFrame(NSWindow, CGRect)
WindowShouldClose(NSObject)

Extension Methods

Name Description
CustomWindowsToEnterFullScreen(INSWindowDelegate, NSWindow)
CustomWindowsToExitFullScreen(INSWindowDelegate, NSWindow)
DidBecomeKey(INSWindowDelegate, NSNotification)
DidBecomeMain(INSWindowDelegate, NSNotification)
DidChangeBackingProperties(INSWindowDelegate, NSNotification)
DidChangeScreen(INSWindowDelegate, NSNotification)
DidChangeScreenProfile(INSWindowDelegate, NSNotification)
DidDecodeRestorableState(INSWindowDelegate, NSWindow, NSCoder)
DidDeminiaturize(INSWindowDelegate, NSNotification)
DidEndLiveResize(INSWindowDelegate, NSNotification)
DidEndSheet(INSWindowDelegate, NSNotification)
DidEnterFullScreen(INSWindowDelegate, NSNotification)
DidEnterVersionBrowser(INSWindowDelegate, NSNotification)
DidExitFullScreen(INSWindowDelegate, NSNotification)
DidExitVersionBrowser(INSWindowDelegate, NSNotification)
DidExpose(INSWindowDelegate, NSNotification)
DidFailToEnterFullScreen(INSWindowDelegate, NSWindow)
DidFailToExitFullScreen(INSWindowDelegate, NSWindow)
DidMiniaturize(INSWindowDelegate, NSNotification)
DidMove(INSWindowDelegate, NSNotification)
DidResignKey(INSWindowDelegate, NSNotification)
DidResignMain(INSWindowDelegate, NSNotification)
DidResize(INSWindowDelegate, NSNotification)
DidUpdate(INSWindowDelegate, NSNotification)
GetPreviewRepresentableActivityItems(INSWindowDelegate, NSWindow)
GetWindowForSharingRequest(INSWindowDelegate, NSWindow)
ShouldDragDocumentWithEvent(INSWindowDelegate, NSWindow, NSEvent, CGPoint, NSPasteboard)
ShouldPopUpDocumentPathMenu(INSWindowDelegate, NSWindow, NSMenu)
ShouldZoom(INSWindowDelegate, NSWindow, CGRect)
StartCustomAnimationToEnterFullScreen(INSWindowDelegate, NSWindow, Double)
StartCustomAnimationToExitFullScreen(INSWindowDelegate, NSWindow, Double)
WillBeginSheet(INSWindowDelegate, NSNotification)
WillClose(INSWindowDelegate, NSNotification)
WillEncodeRestorableState(INSWindowDelegate, NSWindow, NSCoder)
WillEnterFullScreen(INSWindowDelegate, NSNotification)
WillEnterVersionBrowser(INSWindowDelegate, NSNotification)
WillExitFullScreen(INSWindowDelegate, NSNotification)
WillExitVersionBrowser(INSWindowDelegate, NSNotification)
WillMiniaturize(INSWindowDelegate, NSNotification)
WillMove(INSWindowDelegate, NSNotification)
WillPositionSheet(INSWindowDelegate, NSWindow, NSWindow, CGRect)
WillResize(INSWindowDelegate, NSWindow, CGSize)
WillResizeForVersionBrowser(INSWindowDelegate, NSWindow, CGSize, CGSize)
WillReturnFieldEditor(INSWindowDelegate, NSWindow, NSObject)
WillReturnUndoManager(INSWindowDelegate, NSWindow)
WillStartLiveResize(INSWindowDelegate, NSNotification)
WillUseFullScreenContentSize(INSWindowDelegate, NSWindow, CGSize)
WillUseFullScreenPresentationOptions(INSWindowDelegate, NSWindow, NSApplicationPresentationOptions)
WillUseStandardFrame(INSWindowDelegate, NSWindow, CGRect)
WindowShouldClose(INSWindowDelegate, NSObject)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to