共用方式為


NSCell 類別

定義

[Foundation.Register("NSCell", true)]
public class NSCell : Foundation.NSObject, AppKit.INSAccessibility, AppKit.INSAccessibilityElementProtocol, AppKit.INSUserInterfaceItemIdentification, Foundation.INSCoding, Foundation.INSCopying, IDisposable
type NSCell = class
    inherit NSObject
    interface INSAccessibility
    interface INativeObject
    interface IDisposable
    interface INSAccessibilityElementProtocol
    interface INSCoding
    interface INSCopying
    interface INSUserInterfaceItemIdentification
繼承
NSCell
衍生
屬性
實作

建構函式

NSCell()
NSCell(IntPtr)
NSCell(NSCoder)
NSCell(NSImage)
NSCell(NSObjectFlag)
NSCell(String)

屬性

AccessibilityActionNames
AccessibilityActivationPoint
AccessibilityAllowedValues
AccessibilityAlternateUIVisible
AccessibilityApplicationFocusedUIElement
AccessibilityAttributeNames
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
AccessibilityIsIgnored
AccessibilityLabel
AccessibilityLabelUIElements
AccessibilityLabelValue
AccessibilityLinkedUIElements
AccessibilityMain
AccessibilityMainWindow
AccessibilityMarkerGroupUIElement
AccessibilityMarkerTypeDescription
AccessibilityMarkerUIElements
AccessibilityMarkerValues
AccessibilityMaxValue
AccessibilityMenuBar
AccessibilityMinimizeButton
AccessibilityMinimized
AccessibilityMinValue
AccessibilityModal
AccessibilityNextContents
AccessibilityNotifiesWhenDestroyed
AccessibilityNumberOfCharacters
AccessibilityOrderedByRow
AccessibilityOrientation
AccessibilityOverflowButton
AccessibilityParameterizedAttributeNames
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
Action
Alignment
AllowsEditingTextAttributes
AllowsMixedState
AllowsUndo
AnnouncementRequestedNotification
ApplicationActivatedNotification
ApplicationDeactivatedNotification
ApplicationHiddenNotification
ApplicationShownNotification
AttributedStringValue
BackgroundStyle
BaseWritingDirection
Bezeled
Bordered
CellSize
CellType
Class (繼承來源 NSObject)
ClassHandle
ControlSize
ControlTint
ControlTintChangedNotification
ControlView
CreatedNotification
DebugDescription

此物件的開發人員有意義描述。

(繼承來源 NSObject)
DefaultFocusRingType
DefaultMenu
Description

物件的描述,ToString 的 Objective-C 版本。

(繼承來源 NSObject)
DoubleValue
DrawerCreatedNotification
Editable
Enabled
FloatValue
FocusedWindowChangedNotification
FocusRingType
Font
Formatter
Handle

處理 unmanaged 物件標記法) (指標。

(繼承來源 NSObject)
HasValidObjectValue
HelpTagCreatedNotification
Highlighted
Identifier
Image
ImportsGraphics
IntegerValue
InteriorBackgroundStyle
IntValue
IsContinuous
IsDirectBinding (繼承來源 NSObject)
IsOpaque
IsProxy (繼承來源 NSObject)
KeyEquivalent
LayoutChangedNotification
LineBreakMode
MainWindowChangedNotification
Menu
Mnemonic
MnemonicLocation
MouseDownFlags
MovedNotification
NextState
ObjectValue
PrefersTrackingUntilMouseUp
RepresentedObject
ResizedNotification
RetainCount

傳回物件的目前 Objective-C 保留計數。

(繼承來源 NSObject)
RowCollapsedNotification
RowCountChangedNotification
RowExpandedNotification
Scrollable
Selectable
SelectedCellsChangedNotification
SelectedChildrenChangedNotification
SelectedChildrenMovedNotification
SelectedColumnsChangedNotification
SelectedRowsChangedNotification
SelectedTextChangedNotification
Self (繼承來源 NSObject)
SheetCreatedNotification
ShowsFirstResponder
State
StringValue
Superclass (繼承來源 NSObject)
SuperHandle

用來表示這個 NSObject 基類中方法的控制碼。

(繼承來源 NSObject)
Tag
Target
Title
TitleChangedNotification
TruncatesLastVisibleLine
UIElementDestroyedNotification
UIElementFocusedChangedNotification
UnitsChangedNotification
UserInterfaceLayoutDirection
UsesSingleLineMode
ValueChangedNotification
WantsNotificationForMarkedText
WindowCreatedNotification
WindowDeminiaturizedNotification
WindowMiniaturizedNotification
WindowMovedNotification
WindowResizedNotification
Wraps
Zone (繼承來源 NSObject)

方法

AcceptsFirstResponder()
AccessibilityPerformAction(NSString)
AccessibilityPerformCancel()
AccessibilityPerformConfirm()
AccessibilityPerformDecrement()
AccessibilityPerformDelete()
AccessibilityPerformIncrement()
AccessibilityPerformPick()
AccessibilityPerformPress()
AccessibilityPerformRaise()
AccessibilityPerformShowAlternateUI()
AccessibilityPerformShowDefaultUI()
AccessibilityPerformShowMenu()
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)
AwakeFromNib()

從 nib 檔案載入物件之後呼叫。 覆寫程式必須呼叫基底。AwakeFromNib () 。

(繼承來源 NSObject)
BeginInvokeOnMainThread(Action) (繼承來源 NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

在主要 UI 執行緒上以非同步方式叫用指定的程式碼。

(繼承來源 NSObject)
Bind(NSString, NSObject, String, NSDictionary) (繼承來源 NSObject)
Bind(String, NSObject, String, NSDictionary)
已淘汰.
(繼承來源 NSObject)
BindingInfo(String)
已淘汰.
(繼承來源 NSObject)
BindingOptionDescriptions(String)
已淘汰.
(繼承來源 NSObject)
BindingValueClass(String)
已淘汰.
(繼承來源 NSObject)
CalcDrawInfo(CGRect)
CellAttribute(NSCellAttribute)
CellSizeForBounds(CGRect)
CommitEditing() (繼承來源 NSObject)
CommitEditing(NSObject, Selector, IntPtr) (繼承來源 NSObject)
Compare(NSObject)
ConformsToProtocol(IntPtr)

叫用以判斷這個物件是否實作指定的通訊協定。

(繼承來源 NSObject)
ContinueTracking(CGPoint, CGPoint, NSView)
Copy()

執行基礎 Objective-C 物件的複本。

(繼承來源 NSObject)
Copy(NSZone)
DangerousAutorelease() (繼承來源 NSObject)
DangerousRelease() (繼承來源 NSObject)
DangerousRetain() (繼承來源 NSObject)
DidChange(NSKeyValueChange, NSIndexSet, NSString)

表示對多關聯性的索引發生變更。

(繼承來源 NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) (繼承來源 NSObject)
DidChangeValue(String)

表示在指定的索引鍵上發生變更。

(繼承來源 NSObject)
Dispose()

釋放 NSObject 物件所使用的資源。

(繼承來源 NSObject)
Dispose(Boolean)
DoesNotRecognizeSelector(Selector)

表示這個物件無法辨識指定的選取器。

(繼承來源 NSObject)
DrawFocusRing(CGRect, NSView)
DrawingRectForBounds(CGRect)
DrawInteriorWithFrame(CGRect, NSView)
DrawNinePartImage(CGRect, NSImage, NSImage, NSImage, NSImage, NSImage, NSImage, NSImage, NSImage, NSImage, NSCompositingOperation, nfloat, Boolean)
DrawThreePartImage(CGRect, NSImage, NSImage, NSImage, Boolean, NSCompositingOperation, nfloat, Boolean)
DrawWithExpansionFrame(CGRect, NSView)
DrawWithFrame(CGRect, NSView)
EditWithFrame(CGRect, NSView, NSText, NSObject, NSEvent)
EncodeTo(NSCoder)
EndEditing(NSText)
Equals(NSObject) (繼承來源 NSObject)
Equals(Object) (繼承來源 NSObject)
ExpansionFrame(CGRect, NSView)
ExposedBindings() (繼承來源 NSObject)
FieldEditorForView(NSView)
GenerateDraggingImageComponents(CGRect, NSView)
GetAccessibilityActionDescription(NSString)
GetAccessibilityArrayAttributeCount(NSString)
GetAccessibilityArrayAttributeValues(NSString, nuint, nuint)
GetAccessibilityAttributedString(NSRange)
GetAccessibilityCellForColumn(nint, nint)
GetAccessibilityFocusedUIElement()
GetAccessibilityFrame(NSRange)
GetAccessibilityHitTest(CGPoint)
GetAccessibilityIndexOfChild(NSObject)
GetAccessibilityLayoutForScreen(CGPoint)
GetAccessibilityLayoutForScreen(CGSize)
GetAccessibilityLine(nint)
GetAccessibilityRange(CGPoint)
GetAccessibilityRange(nint)
GetAccessibilityRangeForLine(nint)
GetAccessibilityRtf(NSRange)
GetAccessibilityScreenForLayout(CGPoint)
GetAccessibilityScreenForLayout(CGSize)
GetAccessibilityString(NSRange)
GetAccessibilityStyleRange(nint)
GetAccessibilityValue(NSString)
GetAccessibilityValue(NSString, NSObject)
GetBindingInfo(NSString) (繼承來源 NSObject)
GetBindingOptionDescriptions(NSString) (繼承來源 NSObject)
GetBindingValueClass(NSString) (繼承來源 NSObject)
GetDictionaryOfValuesFromKeys(NSString[])

擷取指定索引鍵的值。

(繼承來源 NSObject)
GetFocusRingMaskBounds(CGRect, NSView)
GetHashCode()

產生目前實例的雜湊碼。

(繼承來源 NSObject)
GetMethodForSelector(Selector) (繼承來源 NSObject)
GetNativeField(String)
已淘汰.
(繼承來源 NSObject)
GetNativeHash() (繼承來源 NSObject)
GetPeriodicDelay(Single, Single)
Highlight(Boolean, CGRect, NSView)
HighlightColor(CGRect, NSView)
HitTest(NSEvent, CGRect, NSView)
ImageRectForBounds(CGRect)
Init() (繼承來源 NSObject)
InitializeHandle(IntPtr) (繼承來源 NSObject)
InitializeHandle(IntPtr, String) (繼承來源 NSObject)
Invoke(Action, Double) (繼承來源 NSObject)
Invoke(Action, TimeSpan) (繼承來源 NSObject)
InvokeOnMainThread(Action) (繼承來源 NSObject)
InvokeOnMainThread(Selector, NSObject)

在主要 UI 執行緒上,以同步方式叫用指定的程式碼。

(繼承來源 NSObject)
IsAccessibilityAttributeSettable(NSString)
IsAccessibilitySelectorAllowed(Selector)
IsEntryAcceptable(String)
IsEqual(NSObject) (繼承來源 NSObject)
IsKindOfClass(Class) (繼承來源 NSObject)
IsMemberOfClass(Class) (繼承來源 NSObject)
MarkDirty()

將一般對等物件升階 (IsDirectBinding 為 true) 為 toggleref 物件。

(繼承來源 NSObject)
MenuForEvent(NSEvent, CGRect, NSView)
MutableCopy()

建立指定之 NSObject 的可變動複本。

(繼承來源 NSObject)
ObjectDidEndEditing(NSObject) (繼承來源 NSObject)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr)

表示相對於這個物件的指定 keyPath 值已變更。

(繼承來源 NSObject)
PerformClick(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)
PrepareForInterfaceBuilder() (繼承來源 NSObject)
RefusesFirstResponder()
RemoveObserver(NSObject, NSString)

停止指定的觀察者接收指定 keyPath 變更值的進一步通知。

(繼承來源 NSObject)
RemoveObserver(NSObject, NSString, IntPtr)

停止指定的觀察者接收指定 keyPath 和內容之已變更值的進一步通知。

(繼承來源 NSObject)
RemoveObserver(NSObject, String)

停止指定的觀察者接收指定 keyPath 變更值的進一步通知。

(繼承來源 NSObject)
RemoveObserver(NSObject, String, IntPtr)

停止指定的觀察者接收指定 keyPath 和內容之已變更值的進一步通知。

(繼承來源 NSObject)
ResetCursorRect(CGRect, NSView)
RespondsToSelector(Selector)

這個物件是否可辨識指定的選取器。

(繼承來源 NSObject)
SelectWithFrame(CGRect, NSView, NSText, NSObject, nint, nint)
SendActionOn(NSEventType)
SendsActionOnEndEditing()
SetAccessibilityValue(NSString, NSObject)
SetCellAttribute(NSCellAttribute, nint)
SetNativeField(String, NSObject)
已淘汰.
(繼承來源 NSObject)
SetNextState()
SetNilValueForKey(NSString)

將指定索引鍵的值設定為 null。

(繼承來源 NSObject)
SetSendsActionOnEndEditing(Boolean)
SetTitleWithMnemonic(String)
SetUpFieldEditorAttributes(NSText)
SetValueForKey(NSObject, NSString)

將索引鍵所指定的屬性值設定為指定的值。

(繼承來源 NSObject)
SetValueForKeyPath(IntPtr, NSString)

建立 Unmanaged 物件的 Managed 標記法時所使用的建構函式;由執行時間呼叫。

(繼承來源 NSObject)
SetValueForKeyPath(NSObject, NSString)

設定可以使用索引鍵路徑到達的屬性值。

(繼承來源 NSObject)
SetValueForUndefinedKey(NSObject, NSString)

表示嘗試將值寫入未定義的索引鍵。 如果未覆寫,則會引發 NSUndefinedKeyException。

(繼承來源 NSObject)
SetValuesForKeysWithDictionary(NSDictionary)

將這個 NSObject 的值設定為指定字典中的值。

(繼承來源 NSObject)
StartTracking(CGPoint, NSView)
StopTracking(CGPoint, CGPoint, NSView, Boolean)
TakeDoubleValueFrom(NSObject)
TakeFloatValueFrom(NSObject)
TakeIntegerValueFrom(NSObject)
TakeIntValueFrom(NSObject)
TakeObjectValueFrom(NSObject)
TakeStringValueFrom(NSObject)
TitleRectForBounds(CGRect)
ToString()

傳回目前實例值的字串表示。

(繼承來源 NSObject)
TrackMouse(NSEvent, CGRect, NSView, Boolean)
Unbind(NSString) (繼承來源 NSObject)
Unbind(String)
已淘汰.
(繼承來源 NSObject)
ValueForKey(NSString)

傳回與指定索引鍵相關聯的屬性值。

(繼承來源 NSObject)
ValueForKeyPath(NSString)

傳回可以使用索引鍵路徑到達的屬性值。

(繼承來源 NSObject)
ValueForUndefinedKey(NSString)

表示嘗試讀取未定義索引鍵的值。 如果未覆寫,則會引發 NSUndefinedKeyException。

(繼承來源 NSObject)
WillChange(NSKeyValueChange, NSIndexSet, NSString)

表示指定索引鍵中指定索引的值即將變更。

(繼承來源 NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) (繼承來源 NSObject)
WillChangeValue(String)

表示指定的索引鍵值即將變更。

(繼承來源 NSObject)

擴充方法

GetAccessibilityChildrenInNavigationOrder(INSAccessibility)
GetAccessibilityCustomActions(INSAccessibility)
GetAccessibilityCustomRotors(INSAccessibility)
GetAccessibilityRequired(INSAccessibility)
SetAccessibilityChildrenInNavigationOrder(INSAccessibility, NSAccessibilityElement[])
SetAccessibilityCustomActions(INSAccessibility, NSAccessibilityCustomAction[])
SetAccessibilityCustomRotors(INSAccessibility, NSAccessibilityCustomRotor[])
SetAccessibilityRequired(INSAccessibility, Boolean)
GetAccessibilityFocused(INSAccessibilityElementProtocol)
GetAccessibilityIdentifier(INSAccessibilityElementProtocol)
ObjectDidBeginEditing(NSObject, INSEditor)
ObjectDidEndEditing(NSObject, INSEditor)
GetValidModes(NSObject, NSFontPanel)
ValidateToolbarItem(NSObject, NSToolbarItem)
GetIdentifier(INSUserInterfaceItemIdentification)
SetIdentifier(INSUserInterfaceItemIdentification, String)
GetDebugDescription(INSObjectProtocol)
AcceptsPreviewPanelControl(NSObject, QLPreviewPanel)
BeginPreviewPanelControl(NSObject, QLPreviewPanel)
EndPreviewPanelControl(NSObject, QLPreviewPanel)

適用於