Share via


NSWindow Class

Definition

[Foundation.Register("NSWindow", true)]
public class NSWindow : AppKit.NSResponder, AppKit.INSAccessibility, AppKit.INSAccessibilityElementProtocol, AppKit.INSAppearanceCustomization, AppKit.INSMenuItemValidation, AppKit.INSUserInterfaceItemIdentification, AppKit.INSUserInterfaceValidations, IDisposable
[<Foundation.Register("NSWindow", true)>]
type NSWindow = class
    inherit NSResponder
    interface INSAccessibility
    interface INativeObject
    interface IDisposable
    interface INSAccessibilityElementProtocol
    interface INSAppearanceCustomization
    interface INSMenuItemValidation
    interface INSUserInterfaceItemIdentification
    interface INSUserInterfaceValidations
Inheritance
Derived
Attributes
Implements

Constructors

Name Description
NSWindow()
NSWindow(CGRect, NSWindowStyle, NSBackingStore, Boolean, NSScreen)
NSWindow(CGRect, NSWindowStyle, NSBackingStore, Boolean)
NSWindow(IntPtr)
NSWindow(NativeHandle)

A constructor used when creating managed representations of unmanaged objects. Called by the runtime.

NSWindow(NSCoder)

A constructor that initializes the object from the data stored in the unarchiver object.

NSWindow(NSObjectFlag)

Constructor to call on derived classes to skip initialization and merely allocate the object.

Fields

Name Description
DisableReleasedWhenClosedInConstructor

Properties

Name Description
AcceptsMouseMovedEvents
AccessibilityActivationPoint
AccessibilityAllowedValues
AccessibilityAlternateUIVisible
AccessibilityApplicationFocusedUIElement
AccessibilityAttributedUserInputLabels
AccessibilityCancelButton
AccessibilityChildren
AccessibilityChildrenInNavigationOrder
AccessibilityClearButton
AccessibilityCloseButton
AccessibilityColumnCount
AccessibilityColumnHeaderUIElements
AccessibilityColumnIndexRange
AccessibilityColumns
AccessibilityColumnTitles
AccessibilityContents
AccessibilityCriticalValue
AccessibilityCustomActions
AccessibilityCustomRotors
AccessibilityDecrementButton
AccessibilityDefaultButton
AccessibilityDisclosed
AccessibilityDisclosedByRow
AccessibilityDisclosedRows
AccessibilityDisclosureLevel
AccessibilityDocument
AccessibilityEdited
AccessibilityElement
AccessibilityEnabled
AccessibilityExpanded
AccessibilityExtrasMenuBar
AccessibilityFilename
AccessibilityFocused
AccessibilityFocusedWindow
AccessibilityFrame
AccessibilityFrontmost
AccessibilityFullScreenButton
AccessibilityGrowArea
AccessibilityHandles
AccessibilityHeader
AccessibilityHelp
AccessibilityHidden
AccessibilityHorizontalScrollBar
AccessibilityHorizontalUnitDescription
AccessibilityHorizontalUnits
AccessibilityIdentifier
AccessibilityIncrementButton
AccessibilityIndex
AccessibilityInsertionPointLineNumber
AccessibilityLabel
AccessibilityLabelUIElements
AccessibilityLabelValue
AccessibilityLinkedUIElements
AccessibilityMain
AccessibilityMainWindow
AccessibilityMarkerGroupUIElement
AccessibilityMarkerTypeDescription
AccessibilityMarkerUIElements
AccessibilityMarkerValues
AccessibilityMaxValue
AccessibilityMenuBar
AccessibilityMinimizeButton
AccessibilityMinimized
AccessibilityMinValue
AccessibilityModal
AccessibilityNextContents
AccessibilityNumberOfCharacters
AccessibilityOrderedByRow
AccessibilityOrientation
AccessibilityOverflowButton
AccessibilityParent
AccessibilityPlaceholderValue
AccessibilityPreviousContents
AccessibilityProtectedContent
AccessibilityProxy
AccessibilityRequired
AccessibilityRole
AccessibilityRoleDescription
AccessibilityRowCount
AccessibilityRowHeaderUIElements
AccessibilityRowIndexRange
AccessibilityRows
AccessibilityRulerMarkerType
AccessibilitySearchButton
AccessibilitySearchMenu
AccessibilitySelected
AccessibilitySelectedCells
AccessibilitySelectedChildren
AccessibilitySelectedColumns
AccessibilitySelectedRows
AccessibilitySelectedText
AccessibilitySelectedTextRange
AccessibilitySelectedTextRanges
AccessibilityServesAsTitleForUIElements
AccessibilitySharedCharacterRange
AccessibilitySharedFocusElements
AccessibilitySharedTextUIElements
AccessibilityShownMenu
AccessibilitySortDirection
AccessibilitySplitters
AccessibilitySubrole
AccessibilityTabs
AccessibilityTitle
AccessibilityTitleUIElement
AccessibilityToolbarButton
AccessibilityTopLevelUIElement
AccessibilityUnitDescription
AccessibilityUnits
AccessibilityUrl
AccessibilityUserInputLabels
AccessibilityValue
AccessibilityValueDescription
AccessibilityVerticalScrollBar
AccessibilityVerticalUnitDescription
AccessibilityVerticalUnits
AccessibilityVisibleCells
AccessibilityVisibleCharacterRange
AccessibilityVisibleChildren
AccessibilityVisibleColumns
AccessibilityVisibleRows
AccessibilityWarningValue
AccessibilityWindow
AccessibilityWindows
AccessibilityZoomButton
AllowsAutomaticWindowTabbing
AllowsConcurrentViewDrawing
AllowsToolTipsWhenApplicationIsInactive
AlphaValue
AnimationBehavior
Animations
Animator
AnnouncementRequestedNotification

Notification constant for AnnouncementRequested

Appearance
AppearanceSource
ApplicationActivatedNotification

Notification constant for ApplicationActivated

ApplicationDeactivatedNotification

Notification constant for ApplicationDeactivated

ApplicationHiddenNotification

Notification constant for ApplicationHidden

ApplicationShownNotification

Notification constant for ApplicationShown

AreCursorRectsEnabled
AspectRatio
AttachedSheet
AutocorrectionOccurredNotification

Notification constant for AutocorrectionOccurred

Autodisplay
AutorecalculatesKeyViewLoop
BackgroundColor
BackingLocation
BackingScaleFactor
BackingType
CanBecomeKeyWindow
CanBecomeMainWindow
CanBecomeVisibleWithoutLogin
CanHide
CanStoreColor
CascadingReferenceFrame
ChildWindows
Class (Inherited from NSObject)
ClassHandle

The Objective-C class handle for this class.

CollectionBehavior
ColorSpace
ContentAspectRatio
ContentLayoutGuide
ContentLayoutRect
ContentMaxSize
ContentMinSize
ContentResizeIncrements
ContentView
ContentViewController
CreatedNotification

Notification constant for Created

CustomWindowsToEnterFullScreen
CustomWindowsToExitFullScreen
DangerousReleasedWhenClosed
DebugDescription (Inherited from NSObject)
DeepestScreen
DefaultButtonCell
DefaultDepthLimit
Delegate
DepthLimit
Description (Inherited from NSObject)
DeviceDescription
DidBecomeKeyNotification

Notification constant for DidBecomeKey

DidBecomeMainNotification

Notification constant for DidBecomeMain

DidChangeBackingPropertiesNotification

Notification constant for DidChangeBackingProperties

DidChangeScreenNotification

Notification constant for DidChangeScreen

DidChangeScreenProfileNotification

Notification constant for DidChangeScreenProfile

DidDeminiaturizeNotification

Notification constant for DidDeminiaturize

DidEndLiveResizeNotification

Notification constant for DidEndLiveResize

DidEndSheetNotification

Notification constant for DidEndSheet

DidEnterFullScreenNotification

Notification constant for DidEnterFullScreen

DidEnterVersionBrowserNotification

Notification constant for DidEnterVersionBrowser

DidExitFullScreenNotification

Notification constant for DidExitFullScreen

DidExitVersionBrowserNotification

Notification constant for DidExitVersionBrowser

DidExposeNotification

Notification constant for DidExpose

DidMiniaturizeNotification

Notification constant for DidMiniaturize

DidMoveNotification

Notification constant for DidMove

DidResignKeyNotification

Notification constant for DidResignKey

DidResignMainNotification

Notification constant for DidResignMain

DidResizeNotification

Notification constant for DidResize

DidUpdateNotification

Notification constant for DidUpdate

DisplaysWhenScreenProfileChanges
DockTile
DocumentEdited
DraggingDestinationDragAcceptedNotification

Notification constant for DraggingDestinationDragAccepted

DraggingDestinationDragNotAcceptedNotification

Notification constant for DraggingDestinationDragNotAccepted

DraggingDestinationDropAllowedNotification

Notification constant for DraggingDestinationDropAllowed

DraggingDestinationDropNotAllowedNotification

Notification constant for DraggingDestinationDropNotAllowed

DraggingSourceDragBeganNotification

Notification constant for DraggingSourceDragBegan

DraggingSourceDragEndedNotification

Notification constant for DraggingSourceDragEnded

DrawerCreatedNotification

Notification constant for DrawerCreated

EffectiveAppearance
ExcludedFromWindowsMenu
ExposedBindings (Inherited from NSObject)
FirstResponder
FlushWindowDisabled
FocusedWindowChangedNotification

Notification constant for FocusedWindowChanged

Frame
FrameAutosaveName
GetWindowForSharingRequest
GraphicsContext
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from NSObject)
HasActiveWindowSharingSession
HasDynamicDepthLimit
HasShadow
HelpTagCreatedNotification

Notification constant for HelpTagCreated

HidesOnDeactivate
Identifier
IgnoresMouseEvents
InitialFirstResponder
InLiveResize
IsDirectBinding (Inherited from NSObject)
IsKeyWindow
IsMainWindow
IsMiniaturized
IsMovable
IsOnActiveSpace
IsOneShot
IsOpaque
IsProxy (Inherited from NSObject)
IsSheet
IsVisible
IsZoomed
LayoutChangedNotification

Notification constant for LayoutChanged

Level
MainWindowChangedNotification

Notification constant for MainWindowChanged

MaxFullScreenContentSize
MaxSize
Menu (Inherited from NSResponder)
MinFullScreenContentSize
MiniWindowImage
MiniWindowTitle
MinSize
MouseLocationOutsideOfEventStream
MovableByWindowBackground
MovedNotification

Notification constant for Moved

NextResponder (Inherited from NSResponder)
OcclusionState
ParentWindow
PreferredBackingLocation
PreservesContentDuringLiveResize
PreventsApplicationTerminationWhenModal
ReleasedWhenClosed
RepresentedFilename
RepresentedUrl
ResizedNotification

Notification constant for Resized

ResizeFlags
ResizeIncrements
Restorable
RestorationClass
RetainCount (Inherited from NSObject)
RowCollapsedNotification

Notification constant for RowCollapsed

RowCountChangedNotification

Notification constant for RowCountChanged

RowExpandedNotification

Notification constant for RowExpanded

Screen
SelectedCellsChangedNotification

Notification constant for SelectedCellsChanged

SelectedChildrenChangedNotification

Notification constant for SelectedChildrenChanged

SelectedChildrenMovedNotification

Notification constant for SelectedChildrenMoved

SelectedColumnsChangedNotification

Notification constant for SelectedColumnsChanged

SelectedRowsChangedNotification

Notification constant for SelectedRowsChanged

SelectedTextChangedNotification

Notification constant for SelectedTextChanged

Self (Inherited from NSObject)
SharingType
SheetCreatedNotification

Notification constant for SheetCreated

SheetParent
Sheets
ShouldDragDocumentWithEvent
ShouldPopUpDocumentPathMenu
ShouldZoom
ShowsResizeIndicator
ShowsToolbarButton
StyleMask
Subtitle
Superclass (Inherited from NSObject)
SuperHandle

Handle used to represent the methods in the base class for this NSObject.

(Inherited from NSObject)
Tab
TabbedWindows
TabbingIdentifier
TabbingMode
TabGroup
TextInputMarkingSessionBeganNotification

Notification constant for TextInputMarkingSessionBegan

TextInputMarkingSessionEndedNotification

Notification constant for TextInputMarkingSessionEnded

Title
TitlebarAccessoryViewControllers
TitlebarAppearsTransparent
TitlebarSeparatorStyle
TitleChangedNotification

Notification constant for TitleChanged

TitleVisibility
Toolbar
ToolbarStyle
TouchBar (Inherited from NSResponder)
TrackReleasedWhenClosed
UIElementDestroyedNotification

Notification constant for UIElementDestroyed

UIElementFocusedChangedNotification

Notification constant for UIElementFocusedChanged

UnitsChangedNotification

Notification constant for UnitsChanged

UserActivity (Inherited from NSResponder)
UserSpaceScaleFactor
UserTabbingPreference
ValueChangedNotification

Notification constant for ValueChanged

ViewsNeedDisplay
WeakDelegate
WillBeginSheetNotification

Notification constant for WillBeginSheet

WillCloseNotification

Notification constant for WillClose

WillEnterFullScreenNotification

Notification constant for WillEnterFullScreen

WillEnterVersionBrowserNotification

Notification constant for WillEnterVersionBrowser

WillExitFullScreenNotification

Notification constant for WillExitFullScreen

WillExitVersionBrowserNotification

Notification constant for WillExitVersionBrowser

WillMiniaturizeNotification

Notification constant for WillMiniaturize

WillMoveNotification

Notification constant for WillMove

WillPositionSheet
WillResize
WillResizeForVersionBrowser
WillReturnFieldEditor
WillReturnUndoManager
WillStartLiveResizeNotification

Notification constant for WillStartLiveResize

WillUseFullScreenContentSize
WillUseFullScreenPresentationOptions
WillUseStandardFrame
WindowController
WindowCreatedNotification

Notification constant for WindowCreated

WindowDeminiaturizedNotification

Notification constant for WindowDeminiaturized

WindowMiniaturizedNotification

Notification constant for WindowMiniaturized

WindowMovedNotification

Notification constant for WindowMoved

WindowNumber
WindowRef
WindowResizedNotification

Notification constant for WindowResized

WindowShouldClose
WindowTitlebarLayoutDirection
WorksWhenModal
Zone (Inherited from NSObject)

Methods

Name Description
AcceptsFirstResponder() (Inherited from NSResponder)
AccessibilityPerformCancel()
AccessibilityPerformConfirm()
AccessibilityPerformDecrement()
AccessibilityPerformDelete()
AccessibilityPerformIncrement()
AccessibilityPerformPick()
AccessibilityPerformPress()
AccessibilityPerformRaise()
AccessibilityPerformShowAlternateUI()
AccessibilityPerformShowDefaultUI()
AccessibilityPerformShowMenu()
AddChildWindow(NSWindow, NSWindowOrderingMode)
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr) (Inherited from NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr) (Inherited from NSObject)
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>)

Registers an object for being observed externally using an arbitrary method.

(Inherited from NSObject)
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>)

Registers an object for being observed externally using an arbitrary method.

(Inherited from NSObject)
AddTabbedWindow(NSWindow, NSWindowOrderingMode)
AddTitlebarAccessoryViewController(NSTitlebarAccessoryViewController)
AnimationFor(NSString)
AnimationResizeTime(CGRect)
AutorecalculatesContentBorderThickness(NSRectEdge)
AwakeFromNib() (Inherited from NSObject)
BackingAlignedRect(CGRect, NSAlignmentOptions)
BecomeFirstResponder() (Inherited from NSResponder)
BecomeKeyWindow()
BecomeMainWindow()
BeginCriticalSheet(NSWindow, Action<IntPtr>)
BeginDraggingSession(NSDraggingItem[], NSEvent, INSDraggingSource)
BeginGestureWithEvent(NSEvent) (Inherited from NSResponder)
BeginInvokeOnMainThread(Action) (Inherited from NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

Invokes asynchrously the specified code on the main UI thread.

(Inherited from NSObject)
BeginSheet(NSWindow, Action<IntPtr>)
Bind(NSString, NSObject, String, NSBindingOptions) (Inherited from NSObject)
Bind(NSString, NSObject, String, NSDictionary) (Inherited from NSObject)
CacheImageInRect(CGRect)
CanRepresentDisplayGamut(NSDisplayGamut)
CascadeTopLeftFromPoint(CGPoint)
Center()
ChangeMode(NSEvent) (Inherited from NSResponder)
Close()
CommitEditing() (Inherited from NSObject)
CommitEditing(NSObject, Selector, IntPtr) (Inherited from NSObject)
ConformsToProtocol(NativeHandle) (Inherited from NSObject)
ConstrainFrameRect(CGRect, NSScreen)
ContentBorderThicknessForEdge(NSRectEdge)
ContentRectFor(CGRect, NSWindowStyle)
ContentRectFor(CGRect)
ContextMenuKeyDown(NSEvent) (Inherited from NSResponder)
ConvertBaseToScreen(CGPoint)
ConvertPointFromBacking(CGPoint)
ConvertPointFromScreen(CGPoint)
ConvertPointToBacking(CGPoint)
ConvertPointToScreen(CGPoint)
ConvertRectFromBacking(CGRect)
ConvertRectFromScreen(CGRect)
ConvertRectToBacking(CGRect)
ConvertRectToScreen(CGRect)
ConvertScreenToBase(CGPoint)
Copy() (Inherited from NSObject)
CurrentEvent()
CursorUpdate(NSEvent) (Inherited from NSResponder)
DangerousAutorelease()

Calls the 'autorelease' selector on this object.

(Inherited from NSObject)
DangerousRelease()

Calls the 'release' selector on this object.

(Inherited from NSObject)
DangerousRetain()

Calls the 'retain' selector on this object.

(Inherited from NSObject)
DataWithEpsInsideRect(CGRect)
DataWithPdfInsideRect(CGRect)
DefaultAnimationFor(NSString)
Deminiaturize(NSObject)
DidChange(NSKeyValueChange, NSIndexSet, NSString) (Inherited from NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
DidChangeValue(String) (Inherited from NSObject)
DisableCursorRects()
DisableFlushWindow()
DisableKeyEquivalentForDefaultButtonCell()
DisableScreenUpdatesUntilFlush()
DisableSnapshotRestoration()
DiscardCachedImage()
DiscardCursorRects()
DiscardEventsMatchingMask(NSEventMask, NSEvent)
DiscardEventsMatchingMask(UIntPtr, NSEvent)
Display()
DisplayIfNeeded()
Dispose()

Releases the resources used by the NSObject object.

(Inherited from NSObject)
Dispose(Boolean)
DoesNotRecognizeSelector(Selector) (Inherited from NSObject)
DragImage(NSImage, CGPoint, CGSize, NSEvent, NSPasteboard, NSObject, Boolean)
EnableCursorRects()
EnableFlushWindow()
EnableKeyEquivalentForDefaultButtonCell()
EnableSnapshotRestoration()
EncodeRestorableState(NSCoder, NSOperationQueue) (Inherited from NSResponder)
EncodeRestorableState(NSCoder) (Inherited from NSResponder)
EncodeTo(NSCoder)

Encodes the state of the object using the provided encoder.

(Inherited from NSResponder)
EndEditingFor(NSObject)
EndGestureWithEvent(NSEvent) (Inherited from NSResponder)
EndSheet(NSWindow, NSModalResponse)
EndSheet(NSWindow)
Equals(NSObject) (Inherited from NSObject)
Equals(Object) (Inherited from NSObject)
FieldEditor(Boolean, NSObject)
FlagsChanged(NSEvent) (Inherited from NSResponder)
FlushBufferedKeyEvents() (Inherited from NSResponder)
FlushWindow()
FlushWindowIfNeeded()
FrameRectFor(CGRect, NSWindowStyle)
FrameRectFor(CGRect)
FromWindowRef(IntPtr)
GetAccessibilityAttributedString(NSRange)
GetAccessibilityCellForColumn(IntPtr, IntPtr)
GetAccessibilityFrame(NSRange)
GetAccessibilityLayoutForScreen(CGPoint)
GetAccessibilityLayoutForScreen(CGSize)
GetAccessibilityLine(IntPtr)
GetAccessibilityRange(CGPoint)
GetAccessibilityRange(IntPtr)
GetAccessibilityRangeForLine(IntPtr)
GetAccessibilityRtf(NSRange)
GetAccessibilityScreenForLayout(CGPoint)
GetAccessibilityScreenForLayout(CGSize)
GetAccessibilityString(NSRange)
GetAccessibilityStyleRange(IntPtr)
GetBindingInfo(NSString) (Inherited from NSObject)
GetBindingOptionDescriptions(NSString) (Inherited from NSObject)
GetBindingValueClass(NSString) (Inherited from NSObject)
GetDictionaryOfValuesFromKeys(NSString[]) (Inherited from NSObject)
GetDisplayLink(NSObject, Selector)
GetFrameAutosaveName()
GetHashCode()

Generates a hash code for the current instance.

(Inherited from NSObject)
GetMethodForSelector(Selector) (Inherited from NSObject)
GetNativeHash() (Inherited from NSObject)
GetNewWindowForTab(NSObject) (Inherited from NSResponder)
GetWindowWithContentViewController(NSViewController)
GState()
HelpRequested(NSEvent) (Inherited from NSResponder)
Init() (Inherited from NSObject)
InitializeHandle(NativeHandle, String) (Inherited from NSObject)
InitializeHandle(NativeHandle) (Inherited from NSObject)
InsertTitlebarAccessoryViewController(NSTitlebarAccessoryViewController, IntPtr)
InterpretKeyEvents(NSEvent[]) (Inherited from NSResponder)
InvalidateCursorRectsForView(NSView)
InvalidateRestorableState() (Inherited from NSResponder)
InvalidateShadow()
Invoke(Action, Double) (Inherited from NSObject)
Invoke(Action, TimeSpan) (Inherited from NSObject)
InvokeOnMainThread(Action) (Inherited from NSObject)
InvokeOnMainThread(Selector, NSObject)

Invokes synchrously the specified code on the main UI thread.

(Inherited from NSObject)
IsAccessibilitySelectorAllowed(Selector)
IsEqual(NSObject) (Inherited from NSObject)
IsKindOfClass(Class) (Inherited from NSObject)
IsMemberOfClass(Class) (Inherited from NSObject)
KeyDown(NSEvent) (Inherited from NSResponder)
KeyUp(NSEvent) (Inherited from NSResponder)
KeyViewSelectionDirection()
LayoutIfNeeded()
MagnifyWithEvent(NSEvent) (Inherited from NSResponder)
MakeFirstResponder(NSResponder)
MakeKeyAndOrderFront(NSObject)
MakeKeyWindow()
MakeMainWindow()
MarkDirty()

Promotes a regular peer object (IsDirectBinding is true) into a toggleref object.

(Inherited from NSObject)
MenuChanged(NSMenu)
MergeAllWindows(NSObject)
MinFrameWidthWithTitle(String, NSWindowStyle)
Miniaturize(NSObject)
MouseCancelled(NSEvent) (Inherited from NSResponder)
MouseDown(NSEvent) (Inherited from NSResponder)
MouseDragged(NSEvent) (Inherited from NSResponder)
MouseEntered(NSEvent) (Inherited from NSResponder)
MouseExited(NSEvent) (Inherited from NSResponder)
MouseMoved(NSEvent) (Inherited from NSResponder)
MouseUp(NSEvent) (Inherited from NSResponder)
MoveTabToNewWindow(NSObject)
MutableCopy() (Inherited from NSObject)
NextEventMatchingMask(NSEventMask, NSDate, String, Boolean)
NextEventMatchingMask(NSEventMask)
NextEventMatchingMask(UIntPtr, NSDate, String, Boolean)
NextEventMatchingMask(UIntPtr)
NoResponderFor(Selector) (Inherited from NSResponder)
ObjectDidEndEditing(NSObject) (Inherited from NSObject)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr) (Inherited from NSObject)
OrderBack(NSObject)
OrderFront(NSObject)
OrderFrontRegardless()
OrderOut(NSObject)
OrderWindow(NSWindowOrderingMode, IntPtr)
OtherMouseDown(NSEvent) (Inherited from NSResponder)
OtherMouseDragged(NSEvent) (Inherited from NSResponder)
OtherMouseUp(NSEvent) (Inherited from NSResponder)
PerformClose(NSObject)
PerformKeyEquivalent(NSEvent) (Inherited from NSResponder)
PerformMiniaturize(NSObject)
PerformSelector(Selector, NSObject, Double, NSString[]) (Inherited from NSObject)
PerformSelector(Selector, NSObject, Double) (Inherited from NSObject)
PerformSelector(Selector, NSObject, NSObject) (Inherited from NSObject)
PerformSelector(Selector, NSObject) (Inherited from NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) (Inherited from NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean) (Inherited from NSObject)
PerformSelector(Selector) (Inherited from NSObject)
PerformWindowDrag(NSEvent)
PerformZoom(NSObject)
PostEvent(NSEvent, Boolean)
PrepareForInterfaceBuilder() (Inherited from NSObject)
PresentError(NSError, NSWindow, NSObject, Selector, IntPtr) (Inherited from NSResponder)
PresentError(NSError) (Inherited from NSResponder)
PressureChange(NSEvent) (Inherited from NSResponder)
Print(NSObject)
QuickLook(NSEvent) (Inherited from NSResponder)
RecalculateKeyViewLoop()
RegisterForDraggedTypes(String[])
ReleaseWhenClosed(Boolean)
RemoveChildWindow(NSWindow)
RemoveFrameUsingName(String)
RemoveObserver(NSObject, NSString, IntPtr) (Inherited from NSObject)
RemoveObserver(NSObject, NSString) (Inherited from NSObject)
RemoveObserver(NSObject, String, IntPtr) (Inherited from NSObject)
RemoveObserver(NSObject, String) (Inherited from NSObject)
RemoveTitlebarAccessoryViewControllerAtIndex(IntPtr)
RequestSharingOfWindow(NSImage, String, Action<NSError>)
RequestSharingOfWindow(NSWindow, Action<NSError>)
RequestSharingOfWindowAsync(NSImage, String)
RequestSharingOfWindowAsync(NSWindow)
ResetCursorRects()
ResignFirstResponder() (Inherited from NSResponder)
ResignKeyWindow()
ResignMainWindow()
RespondsToSelector(Selector) (Inherited from NSObject)
RestoreCachedImage()
RestoreState(NSCoder) (Inherited from NSResponder)
RestoreUserActivityState(NSUserActivity) (Inherited from NSResponder)
RightMouseDown(NSEvent) (Inherited from NSResponder)
RightMouseDragged(NSEvent) (Inherited from NSResponder)
RightMouseUp(NSEvent) (Inherited from NSResponder)
RotateWithEvent(NSEvent) (Inherited from NSResponder)
RunToolbarCustomizationPalette(NSObject)
SaveFrameUsingName(String)
ScrollWheel(NSEvent) (Inherited from NSResponder)
SelectKeyViewFollowingView(NSView)
SelectKeyViewPrecedingView(NSView)
SelectNextKeyView(NSObject)
SelectNextTab(NSObject)
SelectPreviousKeyView(NSObject)
SelectPreviousTab(NSObject)
SendEvent(NSEvent)
SetAnchorAttribute(NSLayoutAttribute, NSLayoutConstraintOrientation)
SetAutorecalculatesContentBorderThickness(Boolean, NSRectEdge)
SetContentBorderThickness(NFloat, NSRectEdge)
SetContentSize(CGSize)
SetExcludedFromWindowsMenu(Boolean)
SetFrame(CGRect, Boolean, Boolean)
SetFrame(CGRect, Boolean)
SetFrameAutosaveName(String)
SetFrameFrom(String)
SetFrameOrigin(CGPoint)
SetFrameTopLeftPoint(CGPoint)
SetFrameUsingName(String, Boolean)
SetFrameUsingName(String)
SetIsMiniaturized(Boolean)
SetIsVisible(Boolean)
SetIsZoomed(Boolean)
SetNilValueForKey(NSString) (Inherited from NSObject)
SetOneShot(Boolean)
SetTitleWithRepresentedFilename(String)
SetValueForKey(NSObject, NSString) (Inherited from NSObject)
SetValueForKeyPath(NativeHandle, NSString) (Inherited from NSObject)
SetValueForKeyPath(NSObject, NSString) (Inherited from NSObject)
SetValueForUndefinedKey(NSObject, NSString) (Inherited from NSObject)
SetValuesForKeysWithDictionary(NSDictionary) (Inherited from NSObject)
ShouldBeTreatedAsInkEvent(NSEvent) (Inherited from NSResponder)
ShowContextHelp(NSObject) (Inherited from NSResponder)
SmartMagnify(NSEvent) (Inherited from NSResponder)
StandardWindowButton(NSWindowButton, NSWindowStyle)
StandardWindowButton(NSWindowButton)
StringWithSavedFrame()
SupplementalTargetForAction(Selector, NSObject) (Inherited from NSResponder)
SwipeWithEvent(NSEvent) (Inherited from NSResponder)
TabletPoint(NSEvent) (Inherited from NSResponder)
TabletProximity(NSEvent) (Inherited from NSResponder)
ToggleFullScreen(NSObject)
ToggleTabBar(NSObject)
ToggleTabOverview(NSObject)
ToggleToolbarShown(NSObject)
ToString()

Returns a string representation of the value of the current instance.

(Inherited from NSObject)
TouchesBeganWithEvent(NSEvent) (Inherited from NSResponder)
TouchesCancelledWithEvent(NSEvent) (Inherited from NSResponder)
TouchesEndedWithEvent(NSEvent) (Inherited from NSResponder)
TouchesMovedWithEvent(NSEvent) (Inherited from NSResponder)
TrackEventsMatching(NSEventMask, Double, String, NSWindowTrackEventsMatchingCompletionHandler)
TransferWindowSharing(NSWindow, Action<NSError>)
TransferWindowSharingAsync(NSWindow)
TryToPerform(Selector, NSObject)
TryToPerformwith(Selector, NSObject) (Inherited from NSResponder)
Unbind(NSString) (Inherited from NSObject)
UnregisterDraggedTypes()
Update()
UpdateConstraintsIfNeeded()
UpdateUserActivityState(NSUserActivity) (Inherited from NSResponder)
UseOptimizedDrawing(Boolean)
ValidateMenuItem(NSMenuItem)
ValidateProposedFirstResponder(NSResponder, NSEvent) (Inherited from NSResponder)
ValidateUserInterfaceItem(INSValidatedUserInterfaceItem)
ValidRequestorForSendType(String, String)
ValueForKey(NSString) (Inherited from NSObject)
ValueForKeyPath(NSString) (Inherited from NSObject)
ValueForUndefinedKey(NSString) (Inherited from NSObject)
VisualizeConstraints(NSLayoutConstraint[])
WantsForwardedScrollEventsForAxis(NSEventGestureAxis) (Inherited from NSResponder)
WantsScrollEventsForSwipeTrackingOnAxis(NSEventGestureAxis) (Inherited from NSResponder)
WillChange(NSKeyValueChange, NSIndexSet, NSString) (Inherited from NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
WillChangeValue(String) (Inherited from NSObject)
WillPresentError(NSError) (Inherited from NSResponder)
WindowNumberAtPoint(CGPoint, IntPtr)
WindowNumbersWithOptions(NSWindowNumberListOptions)
Zoom(NSObject)

Events

Name Description
DidBecomeKey
DidBecomeMain
DidChangeBackingProperties
DidChangeScreen
DidChangeScreenProfile
DidDecodeRestorableState
DidDeminiaturize
DidEndLiveResize
DidEndSheet
DidEnterFullScreen
DidEnterVersionBrowser
DidExitFullScreen
DidExitVersionBrowser
DidExpose
DidFailToEnterFullScreen
DidFailToExitFullScreen
DidMiniaturize
DidMove
DidResignKey
DidResignMain
DidResize
DidUpdate
StartCustomAnimationToEnterFullScreen
StartCustomAnimationToExitFullScreen
WillBeginSheet
WillClose
WillEncodeRestorableState
WillEnterFullScreen
WillEnterVersionBrowser
WillExitFullScreen
WillExitVersionBrowser
WillMiniaturize
WillMove
WillStartLiveResize

Extension Methods

Name Description
GetAccessibilityAttributedUserInputLabels(INSAccessibility)
GetAccessibilityUserInputLabels(INSAccessibility)
SetAccessibilityAttributedUserInputLabels(INSAccessibility, NSAttributedString[])
SetAccessibilityUserInputLabels(INSAccessibility, String[])
GetAccessibilityFocused(INSAccessibilityElementProtocol)
GetAccessibilityIdentifier(INSAccessibilityElementProtocol)
ObjectDidBeginEditing(NSObject, INSEditor)
ObjectDidEndEditing(NSObject, INSEditor)
GetValidModes(NSObject, NSFontPanel)
ValidateToolbarItem(NSObject, NSToolbarItem)
GetTouchBar(NSResponder)
MakeTouchBar(NSResponder)
SetTouchBar(NSResponder, NSTouchBar)
ShowWritingTools(NSResponder, NSObject)
QuickLookPreviewItems(NSResponder, NSObject)
PerformTextFinderAction(NSResponder, NSObject)
BrowserAccessibilityDeleteTextAtCursor(NSObject, IntPtr)
BrowserAccessibilityInsertTextAtCursor(NSObject, String)
GetAccessibilityLineEndPositionFromCurrentSelection(NSObject)
GetAccessibilityLineRangeForPosition(NSObject, IntPtr)
GetAccessibilityLineStartPositionFromCurrentSelection(NSObject)
GetBrowserAccessibilityAttributedValue(NSObject, NSRange)
GetBrowserAccessibilityContainerType(NSObject)
GetBrowserAccessibilityCurrentStatus(NSObject)
GetBrowserAccessibilityHasDomFocus(NSObject)
GetBrowserAccessibilityIsRequired(NSObject)
GetBrowserAccessibilityPressedState(NSObject)
GetBrowserAccessibilityRoleDescription(NSObject)
GetBrowserAccessibilitySelectedTextRange(NSObject)
GetBrowserAccessibilitySortDirection(NSObject)
GetBrowserAccessibilityValue(NSObject, NSRange)
SetBrowserAccessibilityContainerType(NSObject, BEAccessibilityContainerType)
SetBrowserAccessibilityCurrentStatus(NSObject, String)
SetBrowserAccessibilityHasDomFocus(NSObject, Boolean)
SetBrowserAccessibilityIsRequired(NSObject, Boolean)
SetBrowserAccessibilityPressedState(NSObject, BEAccessibilityPressedState)
SetBrowserAccessibilityRoleDescription(NSObject, String)
SetBrowserAccessibilitySelectedTextRange(NSObject, NSRange)
SetBrowserAccessibilitySortDirection(NSObject, String)
ProvideImageData(NSObject, IntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)
ProvideImageToMTLTexture(NSObject, IMTLTexture, IMTLCommandBuffer, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)
SetSharedObservers(NSObject, NSKeyValueSharedObserversSnapshot)
GetDebugDescription(INSObjectProtocol)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
AcceptsPreviewPanelControl(NSObject, QLPreviewPanel)
BeginPreviewPanelControl(NSObject, QLPreviewPanel)
EndPreviewPanelControl(NSObject, QLPreviewPanel)

Applies to