NSWindow 类

定义

[Foundation.Register("NSWindow", true)]
public class NSWindow : AppKit.NSResponder, AppKit.INSAccessibility, AppKit.INSAccessibilityElementProtocol, AppKit.INSAppearanceCustomization, AppKit.INSMenuItemValidation, AppKit.INSUserInterfaceItemIdentification, AppKit.INSUserInterfaceValidations, IDisposable
type NSWindow = class
    inherit NSResponder
    interface INSAccessibility
    interface INativeObject
    interface IDisposable
    interface INSAccessibilityElementProtocol
    interface INSAppearanceCustomization
    interface INSMenuItemValidation
    interface INSUserInterfaceItemIdentification
    interface INSUserInterfaceValidations
继承
派生
属性
实现

构造函数

NSWindow()
NSWindow(CGRect, NSWindowStyle, NSBackingStore, Boolean)
NSWindow(CGRect, NSWindowStyle, NSBackingStore, Boolean, NSScreen)
NSWindow(IntPtr)
NSWindow(NSCoder)
NSWindow(NSObjectFlag)

字段

DisableReleasedWhenClosedInConstructor

属性

AcceptsMouseMovedEvents
AccessibilityActivationPoint
AccessibilityAllowedValues
AccessibilityAlternateUIVisible
AccessibilityApplicationFocusedUIElement
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
AccessibilityValue
AccessibilityValueDescription
AccessibilityVerticalScrollBar
AccessibilityVerticalUnitDescription
AccessibilityVerticalUnits
AccessibilityVisibleCells
AccessibilityVisibleCharacterRange
AccessibilityVisibleChildren
AccessibilityVisibleColumns
AccessibilityVisibleRows
AccessibilityWarningValue
AccessibilityWindow
AccessibilityWindows
AccessibilityZoomButton
AllowsAutomaticWindowTabbing
AllowsConcurrentViewDrawing
AllowsToolTipsWhenApplicationIsInactive
AlphaValue
AnimationBehavior
Animations
Animator
AnnouncementRequestedNotification
Appearance
AppearanceSource
ApplicationActivatedNotification
ApplicationDeactivatedNotification
ApplicationHiddenNotification
ApplicationShownNotification
AreCursorRectsEnabled
AspectRatio
AttachedSheet
Autodisplay
AutorecalculatesKeyViewLoop
BackgroundColor
BackingLocation
BackingScaleFactor
BackingType
CanBecomeKeyWindow
CanBecomeMainWindow
CanBecomeVisibleWithoutLogin
CanHide
CanStoreColor
ChildWindows
Class (继承自 NSObject)
ClassHandle
CollectionBehavior
ColorSpace
ContentAspectRatio
ContentLayoutGuide
ContentLayoutRect
ContentMaxSize
ContentMinSize
ContentResizeIncrements
ContentView
ContentViewController
CreatedNotification
CustomWindowsToEnterFullScreen
CustomWindowsToExitFullScreen
DebugDescription

此对象的开发人员有意义的说明。

(继承自 NSObject)
DeepestScreen
DefaultButtonCell
DefaultDepthLimit
Delegate
DepthLimit
Description

对象的说明,即 ToString 的 Objective-C 版本。

(继承自 NSObject)
DeviceDescription
DidBecomeKeyNotification
DidBecomeMainNotification
DidChangeBackingPropertiesNotification
DidChangeScreenNotification
DidChangeScreenProfileNotification
DidDeminiaturizeNotification
DidEndLiveResizeNotification
DidEndSheetNotification
DidEnterFullScreenNotification
DidEnterVersionBrowserNotification
DidExitFullScreenNotification
DidExitVersionBrowserNotification
DidExposeNotification
DidMiniaturizeNotification
DidMoveNotification
DidResignKeyNotification
DidResignMainNotification
DidResizeNotification
DidUpdateNotification
DisplaysWhenScreenProfileChanges
DockTile
DocumentEdited
DrawerCreatedNotification
EffectiveAppearance
ExcludedFromWindowsMenu
FirstResponder
FlushWindowDisabled
FocusedWindowChangedNotification
Frame
FrameAutosaveName
GraphicsContext
Handle

处理指向非托管对象表示形式的 (指针) 。

(继承自 NSObject)
HasDynamicDepthLimit
HasShadow
HelpTagCreatedNotification
HidesOnDeactivate
Identifier
IgnoresMouseEvents
InitialFirstResponder
InLiveResize
IsDirectBinding (继承自 NSObject)
IsKeyWindow
IsMainWindow
IsMiniaturized
IsMovable
IsOnActiveSpace
IsOneShot
IsOpaque
IsProxy (继承自 NSObject)
IsSheet
IsVisible
IsZoomed
LayoutChangedNotification
Level
MainWindowChangedNotification
MaxFullScreenContentSize
MaxSize
Menu (继承自 NSResponder)
MinFullScreenContentSize
MiniWindowImage
MiniWindowTitle
MinSize
MouseLocationOutsideOfEventStream
MovableByWindowBackground
MovedNotification
NextResponder (继承自 NSResponder)
OcclusionState
ParentWindow
PreferredBackingLocation
PreservesContentDuringLiveResize
PreventsApplicationTerminationWhenModal
ReleasedWhenClosed
RepresentedFilename
RepresentedUrl
ResizedNotification
ResizeFlags
ResizeIncrements
Restorable
RestorationClass
RetainCount

返回对象的当前 Objective-C 保留计数。

(继承自 NSObject)
RowCollapsedNotification
RowCountChangedNotification
RowExpandedNotification
Screen
SelectedCellsChangedNotification
SelectedChildrenChangedNotification
SelectedChildrenMovedNotification
SelectedColumnsChangedNotification
SelectedRowsChangedNotification
SelectedTextChangedNotification
Self (继承自 NSObject)
SharingType
SheetCreatedNotification
SheetParent
Sheets
ShouldDragDocumentWithEvent
ShouldPopUpDocumentPathMenu
ShouldZoom
ShowsResizeIndicator
ShowsToolbarButton
StyleMask
Superclass (继承自 NSObject)
SuperHandle

用于表示此 NSObject 基类中方法的句柄。

(继承自 NSObject)
Tab
TabbedWindows
TabbingIdentifier
TabbingMode
TabGroup
Title
TitlebarAccessoryViewControllers
TitlebarAppearsTransparent
TitleChangedNotification
TitleVisibility
Toolbar
TouchBar (继承自 NSResponder)
UIElementDestroyedNotification
UIElementFocusedChangedNotification
UnitsChangedNotification
UserActivity (继承自 NSResponder)
UserSpaceScaleFactor
UserTabbingPreference
ValueChangedNotification
ViewsNeedDisplay
WeakDelegate
WillBeginSheetNotification
WillCloseNotification
WillEnterFullScreenNotification
WillEnterVersionBrowserNotification
WillExitFullScreenNotification
WillExitVersionBrowserNotification
WillMiniaturizeNotification
WillMoveNotification
WillPositionSheet
WillResize
WillResizeForVersionBrowser
WillReturnFieldEditor
WillReturnUndoManager
WillStartLiveResizeNotification
WillUseFullScreenContentSize
WillUseFullScreenPresentationOptions
WillUseStandardFrame
WindowController
WindowCreatedNotification
WindowDeminiaturizedNotification
WindowMiniaturizedNotification
WindowMovedNotification
WindowNumber
WindowRef
WindowResizedNotification
WindowShouldClose
WindowTitlebarLayoutDirection
Zone (继承自 NSObject)

方法

AcceptsFirstResponder() (继承自 NSResponder)
AccessibilityPerformCancel()
AccessibilityPerformConfirm()
AccessibilityPerformDecrement()
AccessibilityPerformDelete()
AccessibilityPerformIncrement()
AccessibilityPerformPick()
AccessibilityPerformPress()
AccessibilityPerformRaise()
AccessibilityPerformShowAlternateUI()
AccessibilityPerformShowDefaultUI()
AccessibilityPerformShowMenu()
AddChildWindow(NSWindow, NSWindowOrderingMode)
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

使用 NSString keyPath) 注册一个对象,以便在外部 (观察到该对象。   观察到的更改将调度到观察者的 对象 ObserveValue(NSString, NSObject, NSDictionary, IntPtr) 方法。

(继承自 NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr)

使用字符串 keyPath) 注册一个对象,以便在外部 (观察到该对象。   观察到的更改将调度到观察者的 对象 ObserveValue(NSString, NSObject, NSDictionary, IntPtr) 方法。

(继承自 NSObject)
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>)

注册一个对象,以便使用任意方法在外部观察。

(继承自 NSObject)
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>)

注册一个对象,以便使用任意方法在外部观察。

(继承自 NSObject)
AddTabbedWindow(NSWindow, NSWindowOrderingMode)
AddTitlebarAccessoryViewController(NSTitlebarAccessoryViewController)
AnimationFor(NSString)
AnimationResizeTime(CGRect)
AutorecalculatesContentBorderThickness(NSRectEdge)
AwakeFromNib()

从 nib 文件加载对象后调用。 替代器必须调用 base。AwakeFromNib () 。

(继承自 NSObject)
BackingAlignedRect(CGRect, NSAlignmentOptions)
BecomeFirstResponder() (继承自 NSResponder)
BecomeKeyWindow()
BecomeMainWindow()
BeginCriticalSheet(NSWindow, Action<nint>)
BeginGestureWithEvent(NSEvent) (继承自 NSResponder)
BeginInvokeOnMainThread(Action) (继承自 NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

在主 UI 线程上异步调用指定的代码。

(继承自 NSObject)
BeginSheet(NSWindow, Action<nint>)
Bind(NSString, NSObject, String, NSDictionary) (继承自 NSObject)
Bind(String, NSObject, String, NSDictionary)
已过时.
(继承自 NSObject)
BindingInfo(String)
已过时.
(继承自 NSObject)
BindingOptionDescriptions(String)
已过时.
(继承自 NSObject)
BindingValueClass(String)
已过时.
(继承自 NSObject)
CacheImageInRect(CGRect)
CanRepresentDisplayGamut(NSDisplayGamut)
CascadeTopLeftFromPoint(CGPoint)
Center()
Close()
CommitEditing() (继承自 NSObject)
CommitEditing(NSObject, Selector, IntPtr) (继承自 NSObject)
ConformsToProtocol(IntPtr)

调用以确定此对象是否实现指定的协议。

(继承自 NSObject)
ConstrainFrameRect(CGRect, NSScreen)
ContentBorderThicknessForEdge(NSRectEdge)
ContentRectFor(CGRect)
ContentRectFor(CGRect, NSWindowStyle)
ConvertBaseToScreen(CGPoint)
ConvertPointFromBacking(CGPoint)
ConvertPointFromScreen(CGPoint)
ConvertPointToBacking(CGPoint)
ConvertPointToScreen(CGPoint)
ConvertRectFromBacking(CGRect)
ConvertRectFromScreen(CGRect)
ConvertRectToBacking(CGRect)
ConvertRectToScreen(CGRect)
ConvertScreenToBase(CGPoint)
Copy()

执行基础 Objective-C 对象的副本。

(继承自 NSObject)
CurrentEvent()
CursorUpdate(NSEvent) (继承自 NSResponder)
DangerousAutorelease() (继承自 NSObject)
DangerousRelease() (继承自 NSObject)
DangerousRetain() (继承自 NSObject)
DataWithEpsInsideRect(CGRect)
DataWithPdfInsideRect(CGRect)
DefaultAnimationFor(NSString)
Deminiaturize(NSObject)
DidChange(NSKeyValueChange, NSIndexSet, NSString)

指示对多关系的索引发生了更改。

(继承自 NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) (继承自 NSObject)
DidChangeValue(String)

指示对指定的键进行了更改。

(继承自 NSObject)
DisableCursorRects()
DisableFlushWindow()
DisableKeyEquivalentForDefaultButtonCell()
DisableScreenUpdatesUntilFlush()
DisableSnapshotRestoration()
DiscardCachedImage()
DiscardCursorRects()
DiscardEventsMatchingMask(NSEventMask, NSEvent)
DiscardEventsMatchingMask(nuint, NSEvent)
Display()
DisplayIfNeeded()
Dispose()

释放 NSObject 对象使用的资源。

(继承自 NSObject)
Dispose(Boolean)
DoesNotRecognizeSelector(Selector)

指示此对象无法识别指定的选择器。

(继承自 NSObject)
EnableCursorRects()
EnableFlushWindow()
EnableKeyEquivalentForDefaultButtonCell()
EnableSnapshotRestoration()
EncodeRestorableState(NSCoder) (继承自 NSResponder)
EncodeRestorableState(NSCoder, NSOperationQueue) (继承自 NSResponder)
EncodeTo(NSCoder) (继承自 NSResponder)
EndEditingFor(NSObject)
EndGestureWithEvent(NSEvent) (继承自 NSResponder)
EndSheet(NSWindow)
EndSheet(NSWindow, nint)
EndSheet(NSWindow, NSModalResponse)
Equals(NSObject) (继承自 NSObject)
Equals(Object) (继承自 NSObject)
ExposedBindings() (继承自 NSObject)
FieldEditor(Boolean, NSObject)
FlagsChanged(NSEvent) (继承自 NSResponder)
FlushBufferedKeyEvents() (继承自 NSResponder)
FlushWindow()
FlushWindowIfNeeded()
FrameRectFor(CGRect)
FrameRectFor(CGRect, NSWindowStyle)
FromWindowRef(IntPtr)
GetAccessibilityAttributedString(NSRange)
GetAccessibilityCellForColumn(nint, nint)
GetAccessibilityFrame(NSRange)
GetAccessibilityLayoutForScreen(CGPoint)
GetAccessibilityLayoutForScreen(CGSize)
GetAccessibilityLine(nint)
GetAccessibilityRange(CGPoint)
GetAccessibilityRange(nint)
GetAccessibilityRangeForLine(nint)
GetAccessibilityRtf(NSRange)
GetAccessibilityScreenForLayout(CGPoint)
GetAccessibilityScreenForLayout(CGSize)
GetAccessibilityString(NSRange)
GetAccessibilityStyleRange(nint)
GetBindingInfo(NSString) (继承自 NSObject)
GetBindingOptionDescriptions(NSString) (继承自 NSObject)
GetBindingValueClass(NSString) (继承自 NSObject)
GetDictionaryOfValuesFromKeys(NSString[])

检索指定键的值。

(继承自 NSObject)
GetFrameAutosaveName()
GetHashCode()

为当前实例生成哈希代码。

(继承自 NSObject)
GetMethodForSelector(Selector) (继承自 NSObject)
GetNativeField(String)
已过时.
(继承自 NSObject)
GetNativeHash() (继承自 NSObject)
GetNewWindowForTab(NSObject) (继承自 NSResponder)
GetWindowWithContentViewController(NSViewController)
GState()
HelpRequested(NSEvent) (继承自 NSResponder)
Init() (继承自 NSObject)
InitializeHandle(IntPtr) (继承自 NSObject)
InitializeHandle(IntPtr, String) (继承自 NSObject)
InsertTitlebarAccessoryViewController(NSTitlebarAccessoryViewController, nint)
InterpretKeyEvents(NSEvent[]) (继承自 NSResponder)
InvalidateCursorRectsForView(NSView)
InvalidateRestorableState() (继承自 NSResponder)
InvalidateShadow()
Invoke(Action, Double) (继承自 NSObject)
Invoke(Action, TimeSpan) (继承自 NSObject)
InvokeOnMainThread(Action) (继承自 NSObject)
InvokeOnMainThread(Selector, NSObject)

同步调用主 UI 线程上的指定代码。

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

将常规对等对象 (IsDirectBinding 为 true) 提升为 toggleref 对象。

(继承自 NSObject)
MenuChanged(NSMenu)
MergeAllWindows(NSObject)
MinFrameWidthWithTitle(String, NSWindowStyle)
Miniaturize(NSObject)
MouseDown(NSEvent) (继承自 NSResponder)
MouseDragged(NSEvent) (继承自 NSResponder)
MouseEntered(NSEvent) (继承自 NSResponder)
MouseExited(NSEvent) (继承自 NSResponder)
MouseMoved(NSEvent) (继承自 NSResponder)
MouseUp(NSEvent) (继承自 NSResponder)
MoveTabToNewWindow(NSObject)
MutableCopy()

创建指定 NSObject 的可变副本。

(继承自 NSObject)
NextEventMatchingMask(NSEventMask)
NextEventMatchingMask(NSEventMask, NSDate, String, Boolean)
NextEventMatchingMask(nuint)
NextEventMatchingMask(nuint, NSDate, String, Boolean)
NoResponderFor(Selector) (继承自 NSResponder)
ObjectDidEndEditing(NSObject) (继承自 NSObject)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr)

指示相对于此对象的指定 keyPath 处的值已更改。

(继承自 NSObject)
OrderBack(NSObject)
OrderFront(NSObject)
OrderFrontRegardless()
OrderOut(NSObject)
OrderWindow(NSWindowOrderingMode, nint)
OtherMouseDown(NSEvent) (继承自 NSResponder)
OtherMouseDragged(NSEvent) (继承自 NSResponder)
OtherMouseUp(NSEvent) (继承自 NSResponder)
PerformClose(NSObject)
PerformKeyEquivalent(NSEvent) (继承自 NSResponder)
PerformMiniaturize(NSObject)
PerformSelector(Selector) (继承自 NSObject)
PerformSelector(Selector, NSObject) (继承自 NSObject)
PerformSelector(Selector, NSObject, Double)

在当前实例上调用选择器,如果 obj 不为 null,则将其作为其单个参数传递。

(继承自 NSObject)
PerformSelector(Selector, NSObject, Double, NSString[]) (继承自 NSObject)
PerformSelector(Selector, NSObject, NSObject) (继承自 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean) (继承自 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) (继承自 NSObject)
PerformWindowDrag(NSEvent)
PerformZoom(NSObject)
PostEvent(NSEvent, Boolean)
PrepareForInterfaceBuilder() (继承自 NSObject)
PresentError(NSError) (继承自 NSResponder)
PresentError(NSError, NSWindow, NSObject, Selector, IntPtr) (继承自 NSResponder)
PressureChange(NSEvent) (继承自 NSResponder)
Print(NSObject)
QuickLook(NSEvent) (继承自 NSResponder)
RecalculateKeyViewLoop()
RegisterForDraggedTypes(String[])
RemoveChildWindow(NSWindow)
RemoveFrameUsingName(String)
RemoveObserver(NSObject, NSString)

阻止指定观察程序接收指定 keyPath 的更改值的进一步通知。

(继承自 NSObject)
RemoveObserver(NSObject, NSString, IntPtr)

停止指定的观察程序接收指定 keyPath 和上下文的更改值的进一步通知。

(继承自 NSObject)
RemoveObserver(NSObject, String)

阻止指定观察程序接收指定 keyPath 的更改值的进一步通知。

(继承自 NSObject)
RemoveObserver(NSObject, String, IntPtr)

停止指定的观察程序接收指定 keyPath 和上下文的更改值的进一步通知。

(继承自 NSObject)
RemoveTitlebarAccessoryViewControllerAtIndex(nint)
ResetCursorRects()
ResignFirstResponder() (继承自 NSResponder)
ResignKeyWindow()
ResignMainWindow()
RespondsToSelector(Selector)

此对象是否识别指定的选择器。

(继承自 NSObject)
RestoreCachedImage()
RestoreState(NSCoder) (继承自 NSResponder)
RestoreUserActivityState(NSUserActivity) (继承自 NSResponder)
RightMouseDown(NSEvent) (继承自 NSResponder)
RightMouseDragged(NSEvent) (继承自 NSResponder)
RightMouseUp(NSEvent) (继承自 NSResponder)
RotateWithEvent(NSEvent) (继承自 NSResponder)
RunToolbarCustomizationPalette(NSObject)
SaveFrameUsingName(String)
ScrollWheel(NSEvent) (继承自 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)
SetFrame(CGRect, Boolean, Boolean)
SetFrameAutosaveName(String)
SetFrameFrom(String)
SetFrameOrigin(CGPoint)
SetFrameTopLeftPoint(CGPoint)
SetFrameUsingName(String)
SetFrameUsingName(String, Boolean)
SetNativeField(String, NSObject)
已过时.
(继承自 NSObject)
SetNilValueForKey(NSString)

将指定键的值设置为 null。

(继承自 NSObject)
SetOneShot(Boolean)
SetTitleWithRepresentedFilename(String)
SetValueForKey(NSObject, NSString)

将键指定的属性的值设置为指定的值。

(继承自 NSObject)
SetValueForKeyPath(IntPtr, NSString)

创建非托管对象的托管表示形式时使用的构造函数;由运行时调用。

(继承自 NSObject)
SetValueForKeyPath(NSObject, NSString)

设置可以使用键路径访问的属性的值。

(继承自 NSObject)
SetValueForUndefinedKey(NSObject, NSString)

指示尝试将值写入未定义的键。 如果未重写,则引发 NSUndefinedKeyException。

(继承自 NSObject)
SetValuesForKeysWithDictionary(NSDictionary)

将此 NSObject 的值设置为指定字典中的值。

(继承自 NSObject)
ShouldBeTreatedAsInkEvent(NSEvent) (继承自 NSResponder)
ShowContextHelp(NSObject) (继承自 NSResponder)
SmartMagnify(NSEvent) (继承自 NSResponder)
StandardWindowButton(NSWindowButton)
StandardWindowButton(NSWindowButton, NSWindowStyle)
StringWithSavedFrame()
SupplementalTargetForAction(Selector, NSObject) (继承自 NSResponder)
SwipeWithEvent(NSEvent) (继承自 NSResponder)
TabletPoint(NSEvent) (继承自 NSResponder)
TabletProximity(NSEvent) (继承自 NSResponder)
ToggleFullScreen(NSObject)
ToggleTabBar(NSObject)
ToggleTabOverview(NSObject)
ToggleToolbarShown(NSObject)
ToString()

返回当前实例的值的字符串表示形式。

(继承自 NSObject)
TouchesBeganWithEvent(NSEvent) (继承自 NSResponder)
TouchesCancelledWithEvent(NSEvent) (继承自 NSResponder)
TouchesEndedWithEvent(NSEvent) (继承自 NSResponder)
TouchesMovedWithEvent(NSEvent) (继承自 NSResponder)
TrackEventsMatching(NSEventMask, Double, String, NSWindowTrackEventsMatchingCompletionHandler)
TryToPerform(Selector, NSObject)
TryToPerformwith(Selector, NSObject) (继承自 NSResponder)
Unbind(NSString) (继承自 NSObject)
Unbind(String)
已过时.
(继承自 NSObject)
UnregisterDraggedTypes()
Update()
UpdateConstraintsIfNeeded()
UpdateUserActivityState(NSUserActivity) (继承自 NSResponder)
UseOptimizedDrawing(Boolean)
ValidateMenuItem(NSMenuItem)
ValidateUserInterfaceItem(INSValidatedUserInterfaceItem)
ValidRequestorForSendType(String, String)
ValueForKey(NSString)

返回与指定键关联的属性的值。

(继承自 NSObject)
ValueForKeyPath(NSString)

返回可以使用键路径访问的属性的值。

(继承自 NSObject)
ValueForUndefinedKey(NSString)

指示尝试读取未定义键的值。 如果未重写,则引发 NSUndefinedKeyException。

(继承自 NSObject)
VisualizeConstraints(NSLayoutConstraint[])
WantsForwardedScrollEventsForAxis(NSEventGestureAxis) (继承自 NSResponder)
WantsScrollEventsForSwipeTrackingOnAxis(NSEventGestureAxis) (继承自 NSResponder)
WillChange(NSKeyValueChange, NSIndexSet, NSString)

指示指定键中指定索引的值即将更改。

(继承自 NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) (继承自 NSObject)
WillChangeValue(String)

指示指定键的值即将更改。

(继承自 NSObject)
WillPresentError(NSError) (继承自 NSResponder)
WindowNumberAtPoint(CGPoint, nint)
WindowNumbersWithOptions(NSWindowNumberListOptions)
WorksWhenModal()
Zoom(NSObject)

事件

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

扩展方法

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

适用于