NSApplication NSApplication Class

Definition

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

Constructors

NSApplication(IntPtr) NSApplication(IntPtr)
NSApplication(NSCoder) NSApplication(NSCoder)
NSApplication(NSObjectFlag) NSApplication(NSObjectFlag)

Fields

CheckForEventAndDelegateMismatches CheckForEventAndDelegateMismatches
CheckForIllegalCrossThreadCalls CheckForIllegalCrossThreadCalls
IgnoreMissingAssembliesDuringRegistration IgnoreMissingAssembliesDuringRegistration

Properties

AccessibilityActivationPoint AccessibilityActivationPoint
AccessibilityAllowedValues AccessibilityAllowedValues
AccessibilityAlternateUIVisible AccessibilityAlternateUIVisible
AccessibilityApplicationFocusedUIElement AccessibilityApplicationFocusedUIElement
AccessibilityCancelButton AccessibilityCancelButton
AccessibilityChildren AccessibilityChildren
AccessibilityChildrenInNavigationOrder AccessibilityChildrenInNavigationOrder
AccessibilityClearButton AccessibilityClearButton
AccessibilityCloseButton AccessibilityCloseButton
AccessibilityColumnCount AccessibilityColumnCount
AccessibilityColumnHeaderUIElements AccessibilityColumnHeaderUIElements
AccessibilityColumnIndexRange AccessibilityColumnIndexRange
AccessibilityColumns AccessibilityColumns
AccessibilityColumnTitles AccessibilityColumnTitles
AccessibilityContents AccessibilityContents
AccessibilityCriticalValue AccessibilityCriticalValue
AccessibilityCustomActions AccessibilityCustomActions
AccessibilityCustomRotors AccessibilityCustomRotors
AccessibilityDecrementButton AccessibilityDecrementButton
AccessibilityDefaultButton AccessibilityDefaultButton
AccessibilityDisclosed AccessibilityDisclosed
AccessibilityDisclosedByRow AccessibilityDisclosedByRow
AccessibilityDisclosedRows AccessibilityDisclosedRows
AccessibilityDisclosureLevel AccessibilityDisclosureLevel
AccessibilityDocument AccessibilityDocument
AccessibilityEdited AccessibilityEdited
AccessibilityElement AccessibilityElement
AccessibilityEnabled AccessibilityEnabled
AccessibilityExpanded AccessibilityExpanded
AccessibilityExtrasMenuBar AccessibilityExtrasMenuBar
AccessibilityFilename AccessibilityFilename
AccessibilityFocused AccessibilityFocused
AccessibilityFocusedWindow AccessibilityFocusedWindow
AccessibilityFrame AccessibilityFrame
AccessibilityFrontmost AccessibilityFrontmost
AccessibilityFullScreenButton AccessibilityFullScreenButton
AccessibilityGrowArea AccessibilityGrowArea
AccessibilityHandles AccessibilityHandles
AccessibilityHeader AccessibilityHeader
AccessibilityHelp AccessibilityHelp
AccessibilityHidden AccessibilityHidden
AccessibilityHorizontalScrollBar AccessibilityHorizontalScrollBar
AccessibilityHorizontalUnitDescription AccessibilityHorizontalUnitDescription
AccessibilityHorizontalUnits AccessibilityHorizontalUnits
AccessibilityIdentifier AccessibilityIdentifier
AccessibilityIncrementButton AccessibilityIncrementButton
AccessibilityIndex AccessibilityIndex
AccessibilityInsertionPointLineNumber AccessibilityInsertionPointLineNumber
AccessibilityLabel AccessibilityLabel
AccessibilityLabelUIElements AccessibilityLabelUIElements
AccessibilityLabelValue AccessibilityLabelValue
AccessibilityLinkedUIElements AccessibilityLinkedUIElements
AccessibilityMain AccessibilityMain
AccessibilityMainWindow AccessibilityMainWindow
AccessibilityMarkerGroupUIElement AccessibilityMarkerGroupUIElement
AccessibilityMarkerTypeDescription AccessibilityMarkerTypeDescription
AccessibilityMarkerUIElements AccessibilityMarkerUIElements
AccessibilityMarkerValues AccessibilityMarkerValues
AccessibilityMaxValue AccessibilityMaxValue
AccessibilityMenuBar AccessibilityMenuBar
AccessibilityMinimizeButton AccessibilityMinimizeButton
AccessibilityMinimized AccessibilityMinimized
AccessibilityMinValue AccessibilityMinValue
AccessibilityModal AccessibilityModal
AccessibilityNextContents AccessibilityNextContents
AccessibilityNumberOfCharacters AccessibilityNumberOfCharacters
AccessibilityOrderedByRow AccessibilityOrderedByRow
AccessibilityOrientation AccessibilityOrientation
AccessibilityOverflowButton AccessibilityOverflowButton
AccessibilityParent AccessibilityParent
AccessibilityPlaceholderValue AccessibilityPlaceholderValue
AccessibilityPreviousContents AccessibilityPreviousContents
AccessibilityProtectedContent AccessibilityProtectedContent
AccessibilityProxy AccessibilityProxy
AccessibilityRequired AccessibilityRequired
AccessibilityRole AccessibilityRole
AccessibilityRoleDescription AccessibilityRoleDescription
AccessibilityRowCount AccessibilityRowCount
AccessibilityRowHeaderUIElements AccessibilityRowHeaderUIElements
AccessibilityRowIndexRange AccessibilityRowIndexRange
AccessibilityRows AccessibilityRows
AccessibilityRulerMarkerType AccessibilityRulerMarkerType
AccessibilitySearchButton AccessibilitySearchButton
AccessibilitySearchMenu AccessibilitySearchMenu
AccessibilitySelected AccessibilitySelected
AccessibilitySelectedCells AccessibilitySelectedCells
AccessibilitySelectedChildren AccessibilitySelectedChildren
AccessibilitySelectedColumns AccessibilitySelectedColumns
AccessibilitySelectedRows AccessibilitySelectedRows
AccessibilitySelectedText AccessibilitySelectedText
AccessibilitySelectedTextRange AccessibilitySelectedTextRange
AccessibilitySelectedTextRanges AccessibilitySelectedTextRanges
AccessibilityServesAsTitleForUIElements AccessibilityServesAsTitleForUIElements
AccessibilitySharedCharacterRange AccessibilitySharedCharacterRange
AccessibilitySharedFocusElements AccessibilitySharedFocusElements
AccessibilitySharedTextUIElements AccessibilitySharedTextUIElements
AccessibilityShownMenu AccessibilityShownMenu
AccessibilitySortDirection AccessibilitySortDirection
AccessibilitySplitters AccessibilitySplitters
AccessibilitySubrole AccessibilitySubrole
AccessibilityTabs AccessibilityTabs
AccessibilityTitle AccessibilityTitle
AccessibilityTitleUIElement AccessibilityTitleUIElement
AccessibilityToolbarButton AccessibilityToolbarButton
AccessibilityTopLevelUIElement AccessibilityTopLevelUIElement
AccessibilityUnitDescription AccessibilityUnitDescription
AccessibilityUnits AccessibilityUnits
AccessibilityUrl AccessibilityUrl
AccessibilityValue AccessibilityValue
AccessibilityValueDescription AccessibilityValueDescription
AccessibilityVerticalScrollBar AccessibilityVerticalScrollBar
AccessibilityVerticalUnitDescription AccessibilityVerticalUnitDescription
AccessibilityVerticalUnits AccessibilityVerticalUnits
AccessibilityVisibleCells AccessibilityVisibleCells
AccessibilityVisibleCharacterRange AccessibilityVisibleCharacterRange
AccessibilityVisibleChildren AccessibilityVisibleChildren
AccessibilityVisibleColumns AccessibilityVisibleColumns
AccessibilityVisibleRows AccessibilityVisibleRows
AccessibilityWarningValue AccessibilityWarningValue
AccessibilityWindow AccessibilityWindow
AccessibilityWindows AccessibilityWindows
AccessibilityZoomButton AccessibilityZoomButton
ActivationPolicy ActivationPolicy
Active Active
AnnouncementRequestedNotification AnnouncementRequestedNotification
Appearance Appearance
ApplicationActivatedNotification ApplicationActivatedNotification
ApplicationDeactivatedNotification ApplicationDeactivatedNotification
ApplicationDockMenu ApplicationDockMenu
ApplicationHiddenNotification ApplicationHiddenNotification
ApplicationIconImage ApplicationIconImage
ApplicationOpenUntitledFile ApplicationOpenUntitledFile
ApplicationShouldHandleReopen ApplicationShouldHandleReopen
ApplicationShouldOpenUntitledFile ApplicationShouldOpenUntitledFile
ApplicationShouldTerminate ApplicationShouldTerminate
ApplicationShouldTerminateAfterLastWindowClosed ApplicationShouldTerminateAfterLastWindowClosed
ApplicationShownNotification ApplicationShownNotification
Class Class Inherited from NSObject
ClassHandle ClassHandle
Context Context
ContinueUserActivity ContinueUserActivity
CreatedNotification CreatedNotification
CurrentEvent CurrentEvent
CurrentSystemPresentationOptions CurrentSystemPresentationOptions
DebugDescription DebugDescription

A developer-meaningful description of this object.

(Inherited from NSObject)
Delegate Delegate
Description Description

Description of the object, the Objective-C version of ToString.

(Inherited from NSObject)
DidBecomeActiveNotification DidBecomeActiveNotification
DidChangeScreenParametersNotification DidChangeScreenParametersNotification
DidFinishLaunchingNotification DidFinishLaunchingNotification
DidFinishRestoringWindowsNotification DidFinishRestoringWindowsNotification
DidHideNotification DidHideNotification
DidResignActiveNotification DidResignActiveNotification
DidUnhideNotification DidUnhideNotification
DidUpdateNotification DidUpdateNotification
DockTile DockTile
DrawerCreatedNotification DrawerCreatedNotification
EffectiveAppearance EffectiveAppearance
FocusedWindowChangedNotification FocusedWindowChangedNotification
FullKeyboardAccessEnabled FullKeyboardAccessEnabled
Handle Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from NSObject)
HandlesKey HandlesKey
HelpMenu HelpMenu
HelpTagCreatedNotification HelpTagCreatedNotification
Hidden Hidden
IsDirectBinding IsDirectBinding Inherited from NSObject
IsProxy IsProxy Inherited from NSObject
IsRegisteredForRemoteNotifications IsRegisteredForRemoteNotifications
KeyWindow KeyWindow
LaunchIsDefaultLaunchKey LaunchIsDefaultLaunchKey
LaunchRemoteNotificationKey LaunchRemoteNotificationKey
LaunchUserNotificationKey LaunchUserNotificationKey
LayoutChangedNotification LayoutChangedNotification
MainMenu MainMenu
MainWindow MainWindow
MainWindowChangedNotification MainWindowChangedNotification
Menu Menu Inherited from NSResponder
ModalWindow ModalWindow
MovedNotification MovedNotification
NextResponder NextResponder Inherited from NSResponder
OcclusionState OcclusionState
OpenFile OpenFile
OpenFileWithoutUI OpenFileWithoutUI
OpenTempFile OpenTempFile
PresentationOptions PresentationOptions
PrintFile PrintFile
PrintFiles PrintFiles
ReadSelectionFromPasteboard ReadSelectionFromPasteboard
ResizedNotification ResizedNotification
RetainCount RetainCount

Returns the current Objective-C retain count for the object.

(Inherited from NSObject)
RowCollapsedNotification RowCollapsedNotification
RowCountChangedNotification RowCountChangedNotification
RowExpandedNotification RowExpandedNotification
Running Running
SelectedCellsChangedNotification SelectedCellsChangedNotification
SelectedChildrenChangedNotification SelectedChildrenChangedNotification
SelectedChildrenMovedNotification SelectedChildrenMovedNotification
SelectedColumnsChangedNotification SelectedColumnsChangedNotification
SelectedRowsChangedNotification SelectedRowsChangedNotification
SelectedTextChangedNotification SelectedTextChangedNotification
Self Self Inherited from NSObject
ServicesMenu ServicesMenu
ServicesProvider ServicesProvider
SharedApplication SharedApplication
SheetCreatedNotification SheetCreatedNotification
Superclass Superclass Inherited from NSObject
SuperHandle SuperHandle

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

(Inherited from NSObject)
TitleChangedNotification TitleChangedNotification
TouchBar TouchBar Inherited from NSResponder
UIElementDestroyedNotification UIElementDestroyedNotification
UIElementFocusedChangedNotification UIElementFocusedChangedNotification
UnitsChangedNotification UnitsChangedNotification
UserActivity UserActivity Inherited from NSResponder
UserInterfaceLayoutDirection UserInterfaceLayoutDirection
ValueChangedNotification ValueChangedNotification
WeakDelegate WeakDelegate
WillBecomeActiveNotification WillBecomeActiveNotification
WillContinueUserActivity WillContinueUserActivity
WillFinishLaunchingNotification WillFinishLaunchingNotification
WillHideNotification WillHideNotification
WillPresentError WillPresentError
WillResignActiveNotification WillResignActiveNotification
WillTerminateNotification WillTerminateNotification
WillUnhideNotification WillUnhideNotification
WillUpdateNotification WillUpdateNotification
WindowCreatedNotification WindowCreatedNotification
WindowDeminiaturizedNotification WindowDeminiaturizedNotification
WindowMiniaturizedNotification WindowMiniaturizedNotification
WindowMovedNotification WindowMovedNotification
WindowResizedNotification WindowResizedNotification
Windows Windows
WindowsMenu WindowsMenu
WriteSelectionToPasteboard WriteSelectionToPasteboard
Zone Zone Inherited from NSObject

Methods

AbortModal() AbortModal()
AcceptsFirstResponder() AcceptsFirstResponder() Inherited from NSResponder
AccessibilityPerformCancel() AccessibilityPerformCancel()
AccessibilityPerformConfirm() AccessibilityPerformConfirm()
AccessibilityPerformDecrement() AccessibilityPerformDecrement()
AccessibilityPerformDelete() AccessibilityPerformDelete()
AccessibilityPerformIncrement() AccessibilityPerformIncrement()
AccessibilityPerformPick() AccessibilityPerformPick()
AccessibilityPerformPress() AccessibilityPerformPress()
AccessibilityPerformRaise() AccessibilityPerformRaise()
AccessibilityPerformShowAlternateUI() AccessibilityPerformShowAlternateUI()
AccessibilityPerformShowDefaultUI() AccessibilityPerformShowDefaultUI()
AccessibilityPerformShowMenu() AccessibilityPerformShowMenu()
ActivateIgnoringOtherApps(Boolean) ActivateIgnoringOtherApps(Boolean)
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr) AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

Registers an object for being observed externally (using NSString keyPath).   Observed changes are dispatched to the observer’s object ObserveValue(NSString, NSObject, NSDictionary, IntPtr) method.

(Inherited from NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr) AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr)

Registers an object for being observed externally (using string keyPath).   Observed changes are dispatched to the observer’s object ObserveValue(NSString, NSObject, NSDictionary, IntPtr) method.

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

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

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

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

(Inherited from NSObject)
AddWindowsItem(NSWindow, String, Boolean) AddWindowsItem(NSWindow, String, Boolean)
ArrangeInFront(NSObject) ArrangeInFront(NSObject)
AwakeFromNib() AwakeFromNib()

Called after the object has been loaded from the nib file. Overriders must call base.AwakeFromNib().

(Inherited from NSObject)
BecomeFirstResponder() BecomeFirstResponder() Inherited from NSResponder
BeginGestureWithEvent(NSEvent) BeginGestureWithEvent(NSEvent) Inherited from NSResponder
BeginInvokeOnMainThread(Action) BeginInvokeOnMainThread(Action) Inherited from NSObject
BeginInvokeOnMainThread(Selector, NSObject) BeginInvokeOnMainThread(Selector, NSObject)

Invokes asynchrously the specified code on the main UI thread.

(Inherited from NSObject)
BeginModalSession(NSWindow) BeginModalSession(NSWindow)
BeginSheet(NSWindow, NSWindow) BeginSheet(NSWindow, NSWindow)
BeginSheet(NSWindow, NSWindow, Action) BeginSheet(NSWindow, NSWindow, Action)
BeginSheet(NSWindow, NSWindow, NSObject, Selector, IntPtr) BeginSheet(NSWindow, NSWindow, NSObject, Selector, IntPtr)
Bind(NSString, NSObject, String, NSDictionary) Bind(NSString, NSObject, String, NSDictionary) Inherited from NSObject
Bind(String, NSObject, String, NSDictionary) Bind(String, NSObject, String, NSDictionary) Inherited from NSObject
BindingInfo(String) BindingInfo(String) Inherited from NSObject
BindingOptionDescriptions(String) BindingOptionDescriptions(String) Inherited from NSObject
BindingValueClass(String) BindingValueClass(String) Inherited from NSObject
CancelUserAttentionRequest(nint) CancelUserAttentionRequest(nint)
ChangeWindowsItem(NSWindow, String, Boolean) ChangeWindowsItem(NSWindow, String, Boolean)
CommitEditing() CommitEditing() Inherited from NSObject
CommitEditing(NSObject, Selector, IntPtr) CommitEditing(NSObject, Selector, IntPtr) Inherited from NSObject
CompleteStateRestoration() CompleteStateRestoration()
ConformsToProtocol(IntPtr) ConformsToProtocol(IntPtr)

Invoked to determine if this object implements the specified protocol.

(Inherited from NSObject)
Copy() Copy()

Performs a copy of the underlying Objective-C object.

(Inherited from NSObject)
CursorUpdate(NSEvent) CursorUpdate(NSEvent) Inherited from NSResponder
DangerousAutorelease() DangerousAutorelease() Inherited from NSObject
DangerousRelease() DangerousRelease() Inherited from NSObject
DangerousRetain() DangerousRetain() Inherited from NSObject
Deactivate() Deactivate()
DetachDrawingThread(Selector, NSObject, NSObject) DetachDrawingThread(Selector, NSObject, NSObject)
DidChange(NSKeyValueChange, NSIndexSet, NSString) DidChange(NSKeyValueChange, NSIndexSet, NSString)

Indicates a change occurred to the indexes for a to-many relationship.

(Inherited from NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) DidChange(NSString, NSKeyValueSetMutationKind, NSSet) Inherited from NSObject
DidChangeValue(String) DidChangeValue(String)

Indicates that a change occurred on the specified key.

(Inherited from NSObject)
DisableRelaunchOnLogin() DisableRelaunchOnLogin()
DiscardEvents(NSEventMask, NSEvent) DiscardEvents(NSEventMask, NSEvent)
DiscardEvents(nuint, NSEvent) DiscardEvents(nuint, NSEvent)
Dispose() Dispose()

Releases the resources used by the NSObject object.

(Inherited from NSObject)
Dispose(Boolean) Dispose(Boolean)
DoesNotRecognizeSelector(Selector) DoesNotRecognizeSelector(Selector)

Indicates that this object does not recognize the specified selector.

(Inherited from NSObject)
EnabledRemoteNotificationTypes() EnabledRemoteNotificationTypes()
EnableRelaunchOnLogin() EnableRelaunchOnLogin()
EncodeRestorableState(NSCoder) EncodeRestorableState(NSCoder) Inherited from NSResponder
EncodeRestorableState(NSCoder, NSOperationQueue) EncodeRestorableState(NSCoder, NSOperationQueue) Inherited from NSResponder
EncodeTo(NSCoder) EncodeTo(NSCoder) Inherited from NSResponder
EndGestureWithEvent(NSEvent) EndGestureWithEvent(NSEvent) Inherited from NSResponder
EndModalSession(IntPtr) EndModalSession(IntPtr)
EndSheet(NSWindow) EndSheet(NSWindow)
EndSheet(NSWindow, nint) EndSheet(NSWindow, nint)
EnsureDelegateAssignIsNotOverwritingInternalDelegate(Object, Object, Type) EnsureDelegateAssignIsNotOverwritingInternalDelegate(Object, Object, Type)
EnsureEventAndDelegateAreNotMismatched(Object, Type) EnsureEventAndDelegateAreNotMismatched(Object, Type)
EnsureUIThread() EnsureUIThread()
EnumerateWindows(NSWindowListOptions, NSApplicationEnumerateWindowsHandler) EnumerateWindows(NSWindowListOptions, NSApplicationEnumerateWindowsHandler)
Equals(NSObject) Equals(NSObject) Inherited from NSObject
Equals(Object) Equals(Object) Inherited from NSObject
ExposedBindings() ExposedBindings() Inherited from NSObject
ExtendStateRestoration() ExtendStateRestoration()
FinishLaunching() FinishLaunching()
FlagsChanged(NSEvent) FlagsChanged(NSEvent) Inherited from NSResponder
FlushBufferedKeyEvents() FlushBufferedKeyEvents() Inherited from NSResponder
GetAccessibilityAttributedString(NSRange) GetAccessibilityAttributedString(NSRange)
GetAccessibilityCellForColumn(nint, nint) GetAccessibilityCellForColumn(nint, nint)
GetAccessibilityFrame(NSRange) GetAccessibilityFrame(NSRange)
GetAccessibilityLayoutForScreen(CGPoint) GetAccessibilityLayoutForScreen(CGPoint)
GetAccessibilityLayoutForScreen(CGSize) GetAccessibilityLayoutForScreen(CGSize)
GetAccessibilityLine(nint) GetAccessibilityLine(nint)
GetAccessibilityRange(CGPoint) GetAccessibilityRange(CGPoint)
GetAccessibilityRange(nint) GetAccessibilityRange(nint)
GetAccessibilityRangeForLine(nint) GetAccessibilityRangeForLine(nint)
GetAccessibilityRtf(NSRange) GetAccessibilityRtf(NSRange)
GetAccessibilityScreenForLayout(CGPoint) GetAccessibilityScreenForLayout(CGPoint)
GetAccessibilityScreenForLayout(CGSize) GetAccessibilityScreenForLayout(CGSize)
GetAccessibilityString(NSRange) GetAccessibilityString(NSRange)
GetAccessibilityStyleRange(nint) GetAccessibilityStyleRange(nint)
GetActivationPolicy() GetActivationPolicy()
GetBindingInfo(NSString) GetBindingInfo(NSString) Inherited from NSObject
GetBindingOptionDescriptions(NSString) GetBindingOptionDescriptions(NSString) Inherited from NSObject
GetBindingValueClass(NSString) GetBindingValueClass(NSString) Inherited from NSObject
GetDictionaryOfValuesFromKeys(NSString[]) GetDictionaryOfValuesFromKeys(NSString[])

Retrieves the values of the specified keys.

(Inherited from NSObject)
GetHashCode() GetHashCode()

Generates a hash code for the current instance.

(Inherited from NSObject)
GetMethodForSelector(Selector) GetMethodForSelector(Selector) Inherited from NSObject
GetNativeField(String) GetNativeField(String) Inherited from NSObject
GetNativeHash() GetNativeHash() Inherited from NSObject
GetNewWindowForTab(NSObject) GetNewWindowForTab(NSObject) Inherited from NSResponder
HelpRequested(NSEvent) HelpRequested(NSEvent) Inherited from NSResponder
Hide(NSObject) Hide(NSObject)
HideOtherApplications(NSObject) HideOtherApplications(NSObject)
Init() Init()
InitDrawingBridge() InitDrawingBridge()
InitializeHandle(IntPtr) InitializeHandle(IntPtr) Inherited from NSObject
InitializeHandle(IntPtr, String) InitializeHandle(IntPtr, String) Inherited from NSObject
InterpretKeyEvents(NSEvent[]) InterpretKeyEvents(NSEvent[]) Inherited from NSResponder
InvalidateRestorableState() InvalidateRestorableState() Inherited from NSResponder
Invoke(Action, Double) Invoke(Action, Double) Inherited from NSObject
Invoke(Action, TimeSpan) Invoke(Action, TimeSpan) Inherited from NSObject
InvokeOnMainThread(Action) InvokeOnMainThread(Action) Inherited from NSObject
InvokeOnMainThread(Selector, NSObject) InvokeOnMainThread(Selector, NSObject)

Invokes synchrously the specified code on the main UI thread.

(Inherited from NSObject)
IsAccessibilitySelectorAllowed(Selector) IsAccessibilitySelectorAllowed(Selector)
IsEqual(NSObject) IsEqual(NSObject) Inherited from NSObject
IsKindOfClass(Class) IsKindOfClass(Class) Inherited from NSObject
IsMemberOfClass(Class) IsMemberOfClass(Class) Inherited from NSObject
KeyDown(NSEvent) KeyDown(NSEvent) Inherited from NSResponder
KeyUp(NSEvent) KeyUp(NSEvent) Inherited from NSResponder
MagnifyWithEvent(NSEvent) MagnifyWithEvent(NSEvent) Inherited from NSResponder
Main(String[]) Main(String[])
MakeWindowsPerform(Selector, Boolean) MakeWindowsPerform(Selector, Boolean)
MarkDirty() MarkDirty()

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

(Inherited from NSObject)
MiniaturizeAll(NSObject) MiniaturizeAll(NSObject)
MouseDown(NSEvent) MouseDown(NSEvent) Inherited from NSResponder
MouseDragged(NSEvent) MouseDragged(NSEvent) Inherited from NSResponder
MouseEntered(NSEvent) MouseEntered(NSEvent) Inherited from NSResponder
MouseExited(NSEvent) MouseExited(NSEvent) Inherited from NSResponder
MouseMoved(NSEvent) MouseMoved(NSEvent) Inherited from NSResponder
MouseUp(NSEvent) MouseUp(NSEvent) Inherited from NSResponder
MutableCopy() MutableCopy()

Creates a mutable copy of the specified NSObject.

(Inherited from NSObject)
NextEvent(NSEventMask, NSDate, NSRunLoopMode, Boolean) NextEvent(NSEventMask, NSDate, NSRunLoopMode, Boolean)
NextEvent(NSEventMask, NSDate, NSString, Boolean) NextEvent(NSEventMask, NSDate, NSString, Boolean)
NextEvent(NSEventMask, NSDate, String, Boolean) NextEvent(NSEventMask, NSDate, String, Boolean)
NextEvent(nuint, NSDate, String, Boolean) NextEvent(nuint, NSDate, String, Boolean)
NoResponderFor(Selector) NoResponderFor(Selector) Inherited from NSResponder
ObjectDidEndEditing(NSObject) ObjectDidEndEditing(NSObject) Inherited from NSObject
ObserveValue(NSString, NSObject, NSDictionary, IntPtr) ObserveValue(NSString, NSObject, NSDictionary, IntPtr)

Indicates that the value at the specified keyPath relative to this object has changed.

(Inherited from NSObject)
OrderFrontCharacterPalette(NSObject) OrderFrontCharacterPalette(NSObject)
OrderFrontColorPanel(NSObject) OrderFrontColorPanel(NSObject)
OrderFrontStandardAboutPanel2(NSObject) OrderFrontStandardAboutPanel2(NSObject)
OrderFrontStandardAboutPanelWithOptions2(NSDictionary) OrderFrontStandardAboutPanelWithOptions2(NSDictionary)
OtherMouseDown(NSEvent) OtherMouseDown(NSEvent) Inherited from NSResponder
OtherMouseDragged(NSEvent) OtherMouseDragged(NSEvent) Inherited from NSResponder
OtherMouseUp(NSEvent) OtherMouseUp(NSEvent) Inherited from NSResponder
PerformKeyEquivalent(NSEvent) PerformKeyEquivalent(NSEvent) Inherited from NSResponder
PerformSelector(Selector) PerformSelector(Selector) Inherited from NSObject
PerformSelector(Selector, NSObject) PerformSelector(Selector, NSObject) Inherited from NSObject
PerformSelector(Selector, NSObject, Double) PerformSelector(Selector, NSObject, Double)

Invokes the selector on the current instance and if the obj is not null, it passes this as its single parameter.

(Inherited from NSObject)
PerformSelector(Selector, NSObject, Double, NSString[]) PerformSelector(Selector, NSObject, Double, NSString[]) Inherited from NSObject
PerformSelector(Selector, NSObject, NSObject) PerformSelector(Selector, NSObject, NSObject) Inherited from NSObject
PerformSelector(Selector, NSThread, NSObject, Boolean) PerformSelector(Selector, NSThread, NSObject, Boolean) Inherited from NSObject
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) Inherited from NSObject
PostEvent(NSEvent, Boolean) PostEvent(NSEvent, Boolean)
PrepareForInterfaceBuilder() PrepareForInterfaceBuilder() Inherited from NSObject
PresentError(NSError) PresentError(NSError) Inherited from NSResponder
PresentError(NSError, NSWindow, NSObject, Selector, IntPtr) PresentError(NSError, NSWindow, NSObject, Selector, IntPtr) Inherited from NSResponder
PressureChange(NSEvent) PressureChange(NSEvent) Inherited from NSResponder
PreventWindowOrdering() PreventWindowOrdering()
QuickLook(NSEvent) QuickLook(NSEvent) Inherited from NSResponder
RegisterForRemoteNotifications() RegisterForRemoteNotifications()
RegisterForRemoteNotificationTypes(NSRemoteNotificationType) RegisterForRemoteNotificationTypes(NSRemoteNotificationType)
RegisterServicesMenu2(String[], String[]) RegisterServicesMenu2(String[], String[])
RemoveObserver(NSObject, NSString) RemoveObserver(NSObject, NSString)

Stops the specified observer from receiving further notifications of changed values for the specified keyPath.

(Inherited from NSObject)
RemoveObserver(NSObject, NSString, IntPtr) RemoveObserver(NSObject, NSString, IntPtr)

Stops the specified observer from receiving further notifications of changed values for the specified keyPath and context.

(Inherited from NSObject)
RemoveObserver(NSObject, String) RemoveObserver(NSObject, String)

Stops the specified observer from receiving further notifications of changed values for the specified keyPath.

(Inherited from NSObject)
RemoveObserver(NSObject, String, IntPtr) RemoveObserver(NSObject, String, IntPtr)

Stops the specified observer from receiving further notifications of changed values for the specified keyPath and context.

(Inherited from NSObject)
RemoveWindowsItem(NSWindow) RemoveWindowsItem(NSWindow)
ReplyToApplicationShouldTerminate(Boolean) ReplyToApplicationShouldTerminate(Boolean)
ReplyToOpenOrPrint(NSApplicationDelegateReply) ReplyToOpenOrPrint(NSApplicationDelegateReply)
ReportException(NSException) ReportException(NSException)
RequestUserAttention(NSRequestUserAttentionType) RequestUserAttention(NSRequestUserAttentionType)
ResignFirstResponder() ResignFirstResponder() Inherited from NSResponder
RespondsToSelector(Selector) RespondsToSelector(Selector)

Whether this object recognizes the specified selector.

(Inherited from NSObject)
RestoreState(NSCoder) RestoreState(NSCoder) Inherited from NSResponder
RestoreUserActivityState(NSUserActivity) RestoreUserActivityState(NSUserActivity) Inherited from NSResponder
RestoreWindow(String, NSCoder, NSWindowCompletionHandler) RestoreWindow(String, NSCoder, NSWindowCompletionHandler)
RestoreWindowWithIdentifier(String, NSCoder, NSWindowCompletionHandler) RestoreWindowWithIdentifier(String, NSCoder, NSWindowCompletionHandler)
RightMouseDown(NSEvent) RightMouseDown(NSEvent) Inherited from NSResponder
RightMouseDragged(NSEvent) RightMouseDragged(NSEvent) Inherited from NSResponder
RightMouseUp(NSEvent) RightMouseUp(NSEvent) Inherited from NSResponder
RotateWithEvent(NSEvent) RotateWithEvent(NSEvent) Inherited from NSResponder
Run() Run()
RunModalForWindow(NSWindow) RunModalForWindow(NSWindow)
RunModalSession(IntPtr) RunModalSession(IntPtr)
ScrollWheel(NSEvent) ScrollWheel(NSEvent) Inherited from NSResponder
SendAction(Selector, NSObject, NSObject) SendAction(Selector, NSObject, NSObject)
SendEvent(NSEvent) SendEvent(NSEvent)
SetActivationPolicy(NSApplicationActivationPolicy) SetActivationPolicy(NSApplicationActivationPolicy)
SetNativeField(String, NSObject) SetNativeField(String, NSObject) Inherited from NSObject
SetNilValueForKey(NSString) SetNilValueForKey(NSString)

Sets the value of the specified key to null.

(Inherited from NSObject)
SetValueForKey(NSObject, NSString) SetValueForKey(NSObject, NSString)

Sets the value of the property specified by the key to the specified value.

(Inherited from NSObject)
SetValueForKeyPath(IntPtr, NSString) SetValueForKeyPath(IntPtr, NSString)

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

(Inherited from NSObject)
SetValueForKeyPath(NSObject, NSString) SetValueForKeyPath(NSObject, NSString)

Sets the value of a property that can be reached using a keypath.

(Inherited from NSObject)
SetValueForUndefinedKey(NSObject, NSString) SetValueForUndefinedKey(NSObject, NSString)

Indicates an attempt to write a value to an undefined key. If not overridden, raises an NSUndefinedKeyException.

(Inherited from NSObject)
SetValuesForKeysWithDictionary(NSDictionary) SetValuesForKeysWithDictionary(NSDictionary)

Sets the values of this NSObject to those in the specified dictionary.

(Inherited from NSObject)
SetWindowsNeedUpdate(Boolean) SetWindowsNeedUpdate(Boolean)
ShouldBeTreatedAsInkEvent(NSEvent) ShouldBeTreatedAsInkEvent(NSEvent) Inherited from NSResponder
ShowContextHelp(NSObject) ShowContextHelp(NSObject) Inherited from NSResponder
SmartMagnify(NSEvent) SmartMagnify(NSEvent) Inherited from NSResponder
Stop(NSObject) Stop(NSObject)
StopModal() StopModal()
StopModalWithCode(nint) StopModalWithCode(nint)
SupplementalTargetForAction(Selector, NSObject) SupplementalTargetForAction(Selector, NSObject) Inherited from NSResponder
SwipeWithEvent(NSEvent) SwipeWithEvent(NSEvent) Inherited from NSResponder
TabletPoint(NSEvent) TabletPoint(NSEvent) Inherited from NSResponder
TabletProximity(NSEvent) TabletProximity(NSEvent) Inherited from NSResponder
TargetForAction(Selector) TargetForAction(Selector)
TargetForAction(Selector, NSObject, NSObject) TargetForAction(Selector, NSObject, NSObject)
Terminate(NSObject) Terminate(NSObject)
ToString() ToString()

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

(Inherited from NSObject)
TouchesBeganWithEvent(NSEvent) TouchesBeganWithEvent(NSEvent) Inherited from NSResponder
TouchesCancelledWithEvent(NSEvent) TouchesCancelledWithEvent(NSEvent) Inherited from NSResponder
TouchesEndedWithEvent(NSEvent) TouchesEndedWithEvent(NSEvent) Inherited from NSResponder
TouchesMovedWithEvent(NSEvent) TouchesMovedWithEvent(NSEvent) Inherited from NSResponder
TryToPerform(Selector, NSObject) TryToPerform(Selector, NSObject)
TryToPerformwith(Selector, NSObject) TryToPerformwith(Selector, NSObject) Inherited from NSResponder
Unbind(NSString) Unbind(NSString) Inherited from NSObject
Unbind(String) Unbind(String) Inherited from NSObject
Unhide(NSObject) Unhide(NSObject)
UnhideAllApplications(NSObject) UnhideAllApplications(NSObject)
UnhideWithoutActivation() UnhideWithoutActivation()
UnregisterForRemoteNotifications() UnregisterForRemoteNotifications()
UpdateUserActivityState(NSUserActivity) UpdateUserActivityState(NSUserActivity) Inherited from NSResponder
UpdateWindows() UpdateWindows()
UpdateWindowsItem(NSWindow) UpdateWindowsItem(NSWindow)
ValidateMenuItem(NSMenuItem) ValidateMenuItem(NSMenuItem)
ValidateUserInterfaceItem(INSValidatedUserInterfaceItem) ValidateUserInterfaceItem(INSValidatedUserInterfaceItem)
ValidRequestor(String, String) ValidRequestor(String, String)
ValidRequestorForSendType(String, String) ValidRequestorForSendType(String, String) Inherited from NSResponder
ValueForKey(NSString) ValueForKey(NSString)

Returns the value of the property associated with the specified key.

(Inherited from NSObject)
ValueForKeyPath(NSString) ValueForKeyPath(NSString)

Returns the value of a property that can be reached using a keypath.

(Inherited from NSObject)
ValueForUndefinedKey(NSString) ValueForUndefinedKey(NSString)

Indicates an attempt to read a value of an undefined key. If not overridden, raises an NSUndefinedKeyException.

(Inherited from NSObject)
WantsForwardedScrollEventsForAxis(NSEventGestureAxis) WantsForwardedScrollEventsForAxis(NSEventGestureAxis) Inherited from NSResponder
WantsScrollEventsForSwipeTrackingOnAxis(NSEventGestureAxis) WantsScrollEventsForSwipeTrackingOnAxis(NSEventGestureAxis) Inherited from NSResponder
WillChange(NSKeyValueChange, NSIndexSet, NSString) WillChange(NSKeyValueChange, NSIndexSet, NSString)

Indicates that the values of the specified indices in the specified key are about to change.

(Inherited from NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) WillChange(NSString, NSKeyValueSetMutationKind, NSSet) Inherited from NSObject
WillChangeValue(String) WillChangeValue(String)

Indicates that the value of the specified key is about to change.

(Inherited from NSObject)
WillPresentError(NSError) WillPresentError(NSError) Inherited from NSResponder
WindowWithWindowNumber(nint) WindowWithWindowNumber(nint)

Events

DecodedRestorableState DecodedRestorableState
DidBecomeActive DidBecomeActive
DidFinishLaunching DidFinishLaunching
DidHide DidHide
DidResignActive DidResignActive
DidUnhide DidUnhide
DidUpdate DidUpdate
FailedToContinueUserActivity FailedToContinueUserActivity
FailedToRegisterForRemoteNotifications FailedToRegisterForRemoteNotifications
OpenFiles OpenFiles
OpenUrls OpenUrls
OrderFrontStandardAboutPanel OrderFrontStandardAboutPanel
OrderFrontStandardAboutPanelWithOptions OrderFrontStandardAboutPanelWithOptions
ReceivedRemoteNotification ReceivedRemoteNotification
RegisteredForRemoteNotifications RegisteredForRemoteNotifications
RegisterServicesMenu RegisterServicesMenu
ScreenParametersChanged ScreenParametersChanged
UpdatedUserActivity UpdatedUserActivity
UserDidAcceptCloudKitShare UserDidAcceptCloudKitShare
WillBecomeActive WillBecomeActive
WillEncodeRestorableState WillEncodeRestorableState
WillFinishLaunching WillFinishLaunching
WillHide WillHide
WillResignActive WillResignActive
WillTerminate WillTerminate
WillUnhide WillUnhide
WillUpdate WillUpdate

Extension Methods

GetAccessibilityChildrenInNavigationOrder(INSAccessibility) GetAccessibilityChildrenInNavigationOrder(INSAccessibility)
GetAccessibilityCustomActions(INSAccessibility) GetAccessibilityCustomActions(INSAccessibility)
GetAccessibilityCustomRotors(INSAccessibility) GetAccessibilityCustomRotors(INSAccessibility)
GetAccessibilityRequired(INSAccessibility) GetAccessibilityRequired(INSAccessibility)
SetAccessibilityChildrenInNavigationOrder(INSAccessibility, NSAccessibilityElement[]) SetAccessibilityChildrenInNavigationOrder(INSAccessibility, NSAccessibilityElement[])
SetAccessibilityCustomActions(INSAccessibility, NSAccessibilityCustomAction[]) SetAccessibilityCustomActions(INSAccessibility, NSAccessibilityCustomAction[])
SetAccessibilityCustomRotors(INSAccessibility, NSAccessibilityCustomRotor[]) SetAccessibilityCustomRotors(INSAccessibility, NSAccessibilityCustomRotor[])
SetAccessibilityRequired(INSAccessibility, Boolean) SetAccessibilityRequired(INSAccessibility, Boolean)
GetAccessibilityFocused(INSAccessibilityElementProtocol) GetAccessibilityFocused(INSAccessibilityElementProtocol)
GetAccessibilityIdentifier(INSAccessibilityElementProtocol) GetAccessibilityIdentifier(INSAccessibilityElementProtocol)
GetAppearance(INSAppearanceCustomization) GetAppearance(INSAppearanceCustomization)
GetEffectiveAppearance(INSAppearanceCustomization) GetEffectiveAppearance(INSAppearanceCustomization)
SetAppearance(INSAppearanceCustomization, NSAppearance) SetAppearance(INSAppearanceCustomization, NSAppearance)
GetAutomaticCustomizeTouchBarMenuItemEnabled(NSApplication) GetAutomaticCustomizeTouchBarMenuItemEnabled(NSApplication)
SetAutomaticCustomizeTouchBarMenuItemEnabled(NSApplication, Boolean) SetAutomaticCustomizeTouchBarMenuItemEnabled(NSApplication, Boolean)
ToggleTouchBarCustomizationPalette(NSApplication, NSObject) ToggleTouchBarCustomizationPalette(NSApplication, NSObject)
ValidateProposedFirstResponder(NSResponder, NSResponder, NSEvent) ValidateProposedFirstResponder(NSResponder, NSResponder, NSEvent)
ObjectDidBeginEditing(NSObject, INSEditor) ObjectDidBeginEditing(NSObject, INSEditor)
ObjectDidEndEditing(NSObject, INSEditor) ObjectDidEndEditing(NSObject, INSEditor)
GetValidModes(NSObject, NSFontPanel) GetValidModes(NSObject, NSFontPanel)
ValidateToolbarItem(NSObject, NSToolbarItem) ValidateToolbarItem(NSObject, NSToolbarItem)
GetTouchBar(NSResponder) GetTouchBar(NSResponder)
MakeTouchBar(NSResponder) MakeTouchBar(NSResponder)
SetTouchBar(NSResponder, NSTouchBar) SetTouchBar(NSResponder, NSTouchBar)
QuickLookPreviewItems(NSResponder, NSObject) QuickLookPreviewItems(NSResponder, NSObject)
PerformTextFinderAction(NSResponder, NSObject) PerformTextFinderAction(NSResponder, NSObject)
GetDebugDescription(INSObjectProtocol) GetDebugDescription(INSObjectProtocol)
AcceptsPreviewPanelControl(NSObject, QLPreviewPanel) AcceptsPreviewPanelControl(NSObject, QLPreviewPanel)
BeginPreviewPanelControl(NSObject, QLPreviewPanel) BeginPreviewPanelControl(NSObject, QLPreviewPanel)
EndPreviewPanelControl(NSObject, QLPreviewPanel) EndPreviewPanelControl(NSObject, QLPreviewPanel)

Applies to