NSPageController 类

定义

[Foundation.Register("NSPageController", true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public class NSPageController : AppKit.NSViewController
type NSPageController = class
    inherit NSViewController
继承
属性

构造函数

NSPageController()
NSPageController(IntPtr)
NSPageController(NSCoder)
NSPageController(NSObjectFlag)
NSPageController(String, NSBundle)

属性

Animations
Animator
ArrangedObjects
ChildViewControllers (继承自 NSViewController)
Class (继承自 NSObject)
ClassHandle
DebugDescription

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

(继承自 NSObject)
Delegate
Description

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

(继承自 NSObject)
ExtensionContext (继承自 NSViewController)
GetFrame
GetIdentifier
GetViewController
Handle

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

(继承自 NSObject)
Identifier (继承自 NSViewController)
IsDirectBinding (继承自 NSObject)
IsProxy (继承自 NSObject)
Menu (继承自 NSViewController)
NextResponder (继承自 NSViewController)
NibBundle (继承自 NSViewController)
NibName (继承自 NSViewController)
ParentViewController (继承自 NSViewController)
PreferredContentSize (继承自 NSViewController)
PreferredMaximumSize (继承自 NSViewController)
PreferredMinimumSize (继承自 NSViewController)
PreferredScreenOrigin (继承自 NSViewController)
PresentedViewControllers (继承自 NSViewController)
PresentingViewController (继承自 NSViewController)
RepresentedObject (继承自 NSViewController)
RetainCount

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

(继承自 NSObject)
SelectedIndex
SelectedViewController
Self (继承自 NSObject)
SourceItemView (继承自 NSViewController)
Storyboard (继承自 NSViewController)
Superclass (继承自 NSObject)
SuperHandle

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

(继承自 NSObject)
Title (继承自 NSViewController)
TouchBar (继承自 NSViewController)
TransitionStyle
UserActivity (继承自 NSViewController)
View (继承自 NSViewController)
ViewLoaded (继承自 NSViewController)
WeakDelegate
Zone (继承自 NSObject)

方法

AcceptsFirstResponder() (继承自 NSViewController)
AddChildViewController(NSViewController) (继承自 NSViewController)
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

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

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

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

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

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

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

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

(继承自 NSObject)
AnimationFor(NSString)
AwakeFromNib()

从 nib 文件加载对象后调用。 重写程序必须调用 base。AwakeFromNib () 。

(继承自 NSObject)
BecomeFirstResponder() (继承自 NSViewController)
BeginGestureWithEvent(NSEvent) (继承自 NSViewController)
BeginInvokeOnMainThread(Action) (继承自 NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

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

(继承自 NSObject)
BeginRequestWithExtensionContext(NSExtensionContext) (继承自 NSViewController)
Bind(NSString, NSObject, String, NSDictionary) (继承自 NSObject)
Bind(String, NSObject, String, NSDictionary)
已过时.
(继承自 NSObject)
BindingInfo(String)
已过时.
(继承自 NSObject)
BindingOptionDescriptions(String)
已过时.
(继承自 NSObject)
BindingValueClass(String)
已过时.
(继承自 NSObject)
CommitEditing() (继承自 NSViewController)
CommitEditing(NSError) (继承自 NSViewController)
CommitEditing(NSObject, Selector, IntPtr) (继承自 NSViewController)
CompleteTransition()
ConformsToProtocol(IntPtr)

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

(继承自 NSObject)
Copy()

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

(继承自 NSObject)
CursorUpdate(NSEvent) (继承自 NSViewController)
DangerousAutorelease() (继承自 NSObject)
DangerousRelease() (继承自 NSObject)
DangerousRetain() (继承自 NSObject)
DefaultAnimationFor(NSString)
DidChange(NSKeyValueChange, NSIndexSet, NSString)

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

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

指示在指定的键上发生了更改。

(继承自 NSObject)
DiscardEditing() (继承自 NSViewController)
DismissController(NSObject) (继承自 NSViewController)
DismissViewController(NSViewController) (继承自 NSViewController)
Dispose()

释放 NSObject 对象使用的资源。

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

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

(继承自 NSObject)
EncodeRestorableState(NSCoder) (继承自 NSViewController)
EncodeRestorableState(NSCoder, NSOperationQueue) (继承自 NSViewController)
EncodeTo(NSCoder) (继承自 NSViewController)
EndGestureWithEvent(NSEvent) (继承自 NSViewController)
Equals(NSObject) (继承自 NSObject)
Equals(Object) (继承自 NSObject)
ExposedBindings() (继承自 NSObject)
FlagsChanged(NSEvent) (继承自 NSViewController)
FlushBufferedKeyEvents() (继承自 NSViewController)
GetBindingInfo(NSString) (继承自 NSObject)
GetBindingOptionDescriptions(NSString) (继承自 NSObject)
GetBindingValueClass(NSString) (继承自 NSObject)
GetDictionaryOfValuesFromKeys(NSString[])

检索指定键的值。

(继承自 NSObject)
GetHashCode()

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

(继承自 NSObject)
GetMethodForSelector(Selector) (继承自 NSObject)
GetNativeField(String)
已过时.
(继承自 NSObject)
GetNativeHash() (继承自 NSObject)
GetNewWindowForTab(NSObject) (继承自 NSViewController)
HelpRequested(NSEvent) (继承自 NSViewController)
Init() (继承自 NSObject)
InitializeHandle(IntPtr) (继承自 NSObject)
InitializeHandle(IntPtr, String) (继承自 NSObject)
InsertChildViewController(NSViewController, nint) (继承自 NSViewController)
InterpretKeyEvents(NSEvent[]) (继承自 NSViewController)
InvalidateRestorableState() (继承自 NSViewController)
Invoke(Action, Double) (继承自 NSObject)
Invoke(Action, TimeSpan) (继承自 NSObject)
InvokeOnMainThread(Action) (继承自 NSObject)
InvokeOnMainThread(Selector, NSObject)

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

(继承自 NSObject)
IsEqual(NSObject) (继承自 NSObject)
IsKindOfClass(Class) (继承自 NSObject)
IsMemberOfClass(Class) (继承自 NSObject)
KeyDown(NSEvent) (继承自 NSViewController)
KeyUp(NSEvent) (继承自 NSViewController)
LoadView() (继承自 NSViewController)
MagnifyWithEvent(NSEvent) (继承自 NSViewController)
MarkDirty()

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

(继承自 NSObject)
MouseDown(NSEvent) (继承自 NSViewController)
MouseDragged(NSEvent) (继承自 NSViewController)
MouseEntered(NSEvent) (继承自 NSViewController)
MouseExited(NSEvent) (继承自 NSViewController)
MouseMoved(NSEvent) (继承自 NSViewController)
MouseUp(NSEvent) (继承自 NSViewController)
MutableCopy()

创建指定 NSObject 的可变副本。

(继承自 NSObject)
NavigateBack(NSObject)
NavigateForward(NSObject)
NavigateForwardTo(NSObject)
NavigateTo(NSObject)
NoResponderFor(Selector) (继承自 NSViewController)
ObjectDidEndEditing(NSObject) (继承自 NSObject)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr)

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

(继承自 NSObject)
OtherMouseDown(NSEvent) (继承自 NSViewController)
OtherMouseDragged(NSEvent) (继承自 NSViewController)
OtherMouseUp(NSEvent) (继承自 NSViewController)
PerformKeyEquivalent(NSEvent) (继承自 NSViewController)
PerformSegue(String, NSObject) (继承自 NSViewController)
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)
PreferredContentSizeDidChange(NSViewController) (继承自 NSViewController)
PrepareForInterfaceBuilder() (继承自 NSObject)
PrepareForSegue(NSStoryboardSegue, NSObject) (继承自 NSViewController)
PresentError(NSError) (继承自 NSViewController)
PresentError(NSError, NSWindow, NSObject, Selector, IntPtr) (继承自 NSViewController)
PresentViewController(NSViewController, CGRect, NSView, nuint, NSPopoverBehavior) (继承自 NSViewController)
PresentViewController(NSViewController, INSViewControllerPresentationAnimator) (继承自 NSViewController)
PresentViewControllerAsModalWindow(NSViewController) (继承自 NSViewController)
PresentViewControllerAsSheet(NSViewController) (继承自 NSViewController)
PresentViewControllerInWidget(NSViewController) (继承自 NSViewController)
PressureChange(NSEvent) (继承自 NSViewController)
QuickLook(NSEvent) (继承自 NSViewController)
RemoveChildViewController(nint) (继承自 NSViewController)
RemoveFromParentViewController() (继承自 NSViewController)
RemoveObserver(NSObject, NSString)

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

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

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

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

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

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

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

(继承自 NSObject)
ResignFirstResponder() (继承自 NSViewController)
RespondsToSelector(Selector)

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

(继承自 NSObject)
RestoreState(NSCoder) (继承自 NSViewController)
RestoreUserActivityState(NSUserActivity) (继承自 NSViewController)
RightMouseDown(NSEvent) (继承自 NSViewController)
RightMouseDragged(NSEvent) (继承自 NSViewController)
RightMouseUp(NSEvent) (继承自 NSViewController)
RotateWithEvent(NSEvent) (继承自 NSViewController)
ScrollWheel(NSEvent) (继承自 NSViewController)
SetNativeField(String, NSObject)
已过时.
(继承自 NSObject)
SetNilValueForKey(NSString)

将指定键的值设置为 null。

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

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

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

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

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

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

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

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

(继承自 NSObject)
SetValuesForKeysWithDictionary(NSDictionary)

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

(继承自 NSObject)
ShouldBeTreatedAsInkEvent(NSEvent) (继承自 NSViewController)
ShouldPerformSegue(String, NSObject) (继承自 NSViewController)
ShowContextHelp(NSObject) (继承自 NSViewController)
SmartMagnify(NSEvent) (继承自 NSViewController)
SupplementalTargetForAction(Selector, NSObject) (继承自 NSViewController)
SwipeWithEvent(NSEvent) (继承自 NSViewController)
TabletPoint(NSEvent) (继承自 NSViewController)
TabletProximity(NSEvent) (继承自 NSViewController)
ToString()

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

(继承自 NSObject)
TouchesBeganWithEvent(NSEvent) (继承自 NSViewController)
TouchesCancelledWithEvent(NSEvent) (继承自 NSViewController)
TouchesEndedWithEvent(NSEvent) (继承自 NSViewController)
TouchesMovedWithEvent(NSEvent) (继承自 NSViewController)
TransitionFromViewController(NSViewController, NSViewController, NSViewControllerTransitionOptions, Action) (继承自 NSViewController)
TryToPerformwith(Selector, NSObject) (继承自 NSViewController)
Unbind(NSString) (继承自 NSObject)
Unbind(String)
已过时.
(继承自 NSObject)
UpdateUserActivityState(NSUserActivity) (继承自 NSViewController)
UpdateViewConstraints() (继承自 NSViewController)
ValidRequestorForSendType(String, String) (继承自 NSViewController)
ValueForKey(NSString)

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

(继承自 NSObject)
ValueForKeyPath(NSString)

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

(继承自 NSObject)
ValueForUndefinedKey(NSString)

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

(继承自 NSObject)
ViewDidAppear() (继承自 NSViewController)
ViewDidDisappear() (继承自 NSViewController)
ViewDidLayout() (继承自 NSViewController)
ViewDidLoad() (继承自 NSViewController)
ViewWillAppear() (继承自 NSViewController)
ViewWillDisappear() (继承自 NSViewController)
ViewWillLayout() (继承自 NSViewController)
ViewWillTransition(CGSize) (继承自 NSViewController)
WantsForwardedScrollEventsForAxis(NSEventGestureAxis) (继承自 NSViewController)
WantsScrollEventsForSwipeTrackingOnAxis(NSEventGestureAxis) (继承自 NSViewController)
WillChange(NSKeyValueChange, NSIndexSet, NSString)

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

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

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

(继承自 NSObject)
WillPresentError(NSError) (继承自 NSViewController)

事件

DidEndLiveTransition
DidTransition
PrepareViewController
WillStartLiveTransition

扩展方法

ValidateProposedFirstResponder(NSResponder, NSResponder, NSEvent)
ObjectDidBeginEditing(NSObject, INSEditor)
ObjectDidEndEditing(NSObject, INSEditor)
GetValidModes(NSObject, NSFontPanel)
ValidateToolbarItem(NSObject, NSToolbarItem)
GetTouchBar(NSResponder)
MakeTouchBar(NSResponder)
SetTouchBar(NSResponder, NSTouchBar)
PerformSegue(INSSeguePerforming, String, NSObject)
PrepareForSegue(INSSeguePerforming, NSStoryboardSegue, NSObject)
ShouldPerformSegue(INSSeguePerforming, String, NSObject)
QuickLookPreviewItems(NSResponder, NSObject)
PerformTextFinderAction(NSResponder, NSObject)
GetIdentifier(INSUserInterfaceItemIdentification)
SetIdentifier(INSUserInterfaceItemIdentification, String)
GetDebugDescription(INSObjectProtocol)
AcceptsPreviewPanelControl(NSObject, QLPreviewPanel)
BeginPreviewPanelControl(NSObject, QLPreviewPanel)
EndPreviewPanelControl(NSObject, QLPreviewPanel)

适用于