Share via


NSButton Class

Definition

[Foundation.Register("NSButton", true)]
public class NSButton : AppKit.NSControl, AppKit.INSAccessibilityButton, AppKit.INSUserInterfaceCompression, AppKit.INSUserInterfaceValidations, IDisposable
[<Foundation.Register("NSButton", true)>]
type NSButton = class
    inherit NSControl
    interface INSAccessibilityButton
    interface INativeObject
    interface IDisposable
    interface INSAccessibilityElementProtocol
    interface INSUserInterfaceCompression
    interface INSUserInterfaceValidations
Inheritance
Derived
Attributes
Implements

Constructors

Name Description
NSButton()

Creates a new NSButton with default values.

NSButton(CGRect)
NSButton(NativeHandle)

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

NSButton(NSCoder)

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

NSButton(NSObjectFlag)

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

Properties

Name Description
AcceptsTouchEvents (Inherited from NSView)
AccessibilityActionNames (Inherited from NSView)
AccessibilityActivationPoint (Inherited from NSView)
AccessibilityAllowedValues (Inherited from NSView)
AccessibilityAlternateUIVisible (Inherited from NSView)
AccessibilityApplicationFocusedUIElement (Inherited from NSView)
AccessibilityAttributedUserInputLabels (Inherited from NSView)
AccessibilityAttributeNames (Inherited from NSView)
AccessibilityCancelButton (Inherited from NSView)
AccessibilityChildren (Inherited from NSView)
AccessibilityChildrenInNavigationOrder (Inherited from NSView)
AccessibilityClearButton (Inherited from NSView)
AccessibilityCloseButton (Inherited from NSView)
AccessibilityColumnCount (Inherited from NSView)
AccessibilityColumnHeaderUIElements (Inherited from NSView)
AccessibilityColumnIndexRange (Inherited from NSView)
AccessibilityColumns (Inherited from NSView)
AccessibilityColumnTitles (Inherited from NSView)
AccessibilityContents (Inherited from NSView)
AccessibilityCriticalValue (Inherited from NSView)
AccessibilityCustomActions (Inherited from NSView)
AccessibilityCustomRotors (Inherited from NSView)
AccessibilityDecrementButton (Inherited from NSView)
AccessibilityDefaultButton (Inherited from NSView)
AccessibilityDisclosed (Inherited from NSView)
AccessibilityDisclosedByRow (Inherited from NSView)
AccessibilityDisclosedRows (Inherited from NSView)
AccessibilityDisclosureLevel (Inherited from NSView)
AccessibilityDocument (Inherited from NSView)
AccessibilityEdited (Inherited from NSView)
AccessibilityElement (Inherited from NSView)
AccessibilityEnabled (Inherited from NSView)
AccessibilityExpanded (Inherited from NSView)
AccessibilityExtrasMenuBar (Inherited from NSView)
AccessibilityFilename (Inherited from NSView)
AccessibilityFocused
AccessibilityFocusedWindow (Inherited from NSView)
AccessibilityFrame
AccessibilityFrontmost (Inherited from NSView)
AccessibilityFullScreenButton (Inherited from NSView)
AccessibilityGrowArea (Inherited from NSView)
AccessibilityHandles (Inherited from NSView)
AccessibilityHeader (Inherited from NSView)
AccessibilityHelp (Inherited from NSView)
AccessibilityHidden (Inherited from NSView)
AccessibilityHorizontalScrollBar (Inherited from NSView)
AccessibilityHorizontalUnitDescription (Inherited from NSView)
AccessibilityHorizontalUnits (Inherited from NSView)
AccessibilityIdentifier
AccessibilityIncrementButton (Inherited from NSView)
AccessibilityIndex (Inherited from NSView)
AccessibilityInsertionPointLineNumber (Inherited from NSView)
AccessibilityIsIgnored (Inherited from NSView)
AccessibilityLabel
AccessibilityLabelUIElements (Inherited from NSView)
AccessibilityLabelValue (Inherited from NSView)
AccessibilityLinkedUIElements (Inherited from NSView)
AccessibilityMain (Inherited from NSView)
AccessibilityMainWindow (Inherited from NSView)
AccessibilityMarkerGroupUIElement (Inherited from NSView)
AccessibilityMarkerTypeDescription (Inherited from NSView)
AccessibilityMarkerUIElements (Inherited from NSView)
AccessibilityMarkerValues (Inherited from NSView)
AccessibilityMaxValue (Inherited from NSView)
AccessibilityMenuBar (Inherited from NSView)
AccessibilityMinimizeButton (Inherited from NSView)
AccessibilityMinimized (Inherited from NSView)
AccessibilityMinValue (Inherited from NSView)
AccessibilityModal (Inherited from NSView)
AccessibilityNextContents (Inherited from NSView)
AccessibilityNotifiesWhenDestroyed (Inherited from NSView)
AccessibilityNumberOfCharacters (Inherited from NSView)
AccessibilityOrderedByRow (Inherited from NSView)
AccessibilityOrientation (Inherited from NSView)
AccessibilityOverflowButton (Inherited from NSView)
AccessibilityParameterizedAttributeNames (Inherited from NSView)
AccessibilityParent
AccessibilityPlaceholderValue (Inherited from NSView)
AccessibilityPreviousContents (Inherited from NSView)
AccessibilityProtectedContent (Inherited from NSView)
AccessibilityProxy (Inherited from NSView)
AccessibilityRequired (Inherited from NSView)
AccessibilityRole (Inherited from NSView)
AccessibilityRoleDescription (Inherited from NSView)
AccessibilityRowCount (Inherited from NSView)
AccessibilityRowHeaderUIElements (Inherited from NSView)
AccessibilityRowIndexRange (Inherited from NSView)
AccessibilityRows (Inherited from NSView)
AccessibilityRulerMarkerType (Inherited from NSView)
AccessibilitySearchButton (Inherited from NSView)
AccessibilitySearchMenu (Inherited from NSView)
AccessibilitySelected (Inherited from NSView)
AccessibilitySelectedCells (Inherited from NSView)
AccessibilitySelectedChildren (Inherited from NSView)
AccessibilitySelectedColumns (Inherited from NSView)
AccessibilitySelectedRows (Inherited from NSView)
AccessibilitySelectedText (Inherited from NSView)
AccessibilitySelectedTextRange (Inherited from NSView)
AccessibilitySelectedTextRanges (Inherited from NSView)
AccessibilityServesAsTitleForUIElements (Inherited from NSView)
AccessibilitySharedCharacterRange (Inherited from NSView)
AccessibilitySharedFocusElements (Inherited from NSView)
AccessibilitySharedTextUIElements (Inherited from NSView)
AccessibilityShownMenu (Inherited from NSView)
AccessibilitySortDirection (Inherited from NSView)
AccessibilitySplitters (Inherited from NSView)
AccessibilitySubrole (Inherited from NSView)
AccessibilityTabs (Inherited from NSView)
AccessibilityTitle (Inherited from NSView)
AccessibilityTitleUIElement (Inherited from NSView)
AccessibilityToolbarButton (Inherited from NSView)
AccessibilityTopLevelUIElement (Inherited from NSView)
AccessibilityUnitDescription (Inherited from NSView)
AccessibilityUnits (Inherited from NSView)
AccessibilityUrl (Inherited from NSView)
AccessibilityUserInputLabels (Inherited from NSView)
AccessibilityValue (Inherited from NSView)
AccessibilityValueDescription (Inherited from NSView)
AccessibilityVerticalScrollBar (Inherited from NSView)
AccessibilityVerticalUnitDescription (Inherited from NSView)
AccessibilityVerticalUnits (Inherited from NSView)
AccessibilityVisibleCells (Inherited from NSView)
AccessibilityVisibleCharacterRange (Inherited from NSView)
AccessibilityVisibleChildren (Inherited from NSView)
AccessibilityVisibleColumns (Inherited from NSView)
AccessibilityVisibleRows (Inherited from NSView)
AccessibilityWarningValue (Inherited from NSView)
AccessibilityWindow (Inherited from NSView)
AccessibilityWindows (Inherited from NSView)
AccessibilityZoomButton (Inherited from NSView)
Action (Inherited from NSControl)
ActiveCompressionOptions
AdditionalSafeAreaInsets (Inherited from NSView)
Alignment (Inherited from NSControl)
AlignmentRectInsets (Inherited from NSView)
AllowsExpansionToolTips (Inherited from NSControl)
AllowsMixedState
AllowsVibrancy (Inherited from NSView)
AlphaValue (Inherited from NSView)
AlternateImage
AlternateTitle
Animations (Inherited from NSView)
Animator (Inherited from NSView)
Appearance (Inherited from NSView)
AttributedAlternateTitle
AttributedStringValue (Inherited from NSControl)
AttributedTitle
AutoresizesSubviews (Inherited from NSView)
AutoresizingMask (Inherited from NSView)
BackgroundFilters (Inherited from NSView)
BaselineOffsetFromBottom (Inherited from NSView)
BaseWritingDirection (Inherited from NSControl)
BezelColor
BezelStyle
Bordered
BorderShape
BottomAnchor (Inherited from NSView)
Bounds (Inherited from NSView)
BoundsRotation (Inherited from NSView)
CanBecomeKeyView (Inherited from NSView)
CanDrawConcurrently (Inherited from NSView)
CanDrawSubviewsIntoLayer (Inherited from NSView)
Cell
CenterXAnchor (Inherited from NSView)
CenterYAnchor (Inherited from NSView)
Class (Inherited from NSObject)
ClassHandle

The Objective-C class handle for this class.

ClipsToBounds (Inherited from NSView)
CompositingFilter (Inherited from NSView)
Constraints (Inherited from NSView)
ContentFilters (Inherited from NSView)
ContentTintColor
Continuous (Inherited from NSControl)
ControlSize (Inherited from NSControl)
CurrentEditor (Inherited from NSControl)
DebugDescription (Inherited from NSObject)
Description (Inherited from NSObject)
DoubleValue (Inherited from NSControl)
EffectiveAppearance (Inherited from NSView)
Enabled (Inherited from NSControl)
EnclosingScrollView (Inherited from NSView)
ExposedBindings (Inherited from NSObject)
FirstBaselineAnchor (Inherited from NSView)
FirstBaselineOffsetFromTop (Inherited from NSView)
FittingSize (Inherited from NSView)
FloatValue (Inherited from NSControl)
FocusRingMaskBounds (Inherited from NSView)
FocusRingType (Inherited from NSView)
Font (Inherited from NSControl)
Formatter (Inherited from NSControl)
Frame (Inherited from NSView)
FrameCenterRotation (Inherited from NSView)
FrameRotation (Inherited from NSView)
GestureRecognizers (Inherited from NSView)
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from NSObject)
HasAmbiguousLayout (Inherited from NSView)
HasDestructiveAction
HeightAdjustLimit (Inherited from NSView)
HeightAnchor (Inherited from NSView)
Hidden (Inherited from NSView)
Highlighted (Inherited from NSControl)
HorizontalContentSizeConstraintActive (Inherited from NSView)
Identifier (Inherited from NSView)
IgnoresMultiClick (Inherited from NSControl)
Image
ImageHugsTitle
ImagePosition
ImageScaling
InLiveResize (Inherited from NSView)
InputContext (Inherited from NSView)
IntrinsicContentSize (Inherited from NSView)
IntValue (Inherited from NSControl)
IsDirectBinding (Inherited from NSObject)
IsDrawingFindIndicator (Inherited from NSView)
IsFlipped (Inherited from NSView)
IsHiddenOrHasHiddenAncestor (Inherited from NSView)
IsInFullscreenMode (Inherited from NSView)
IsOpaque (Inherited from NSView)
IsProxy (Inherited from NSObject)
IsRotatedFromBase (Inherited from NSView)
IsRotatedOrScaledFromBase (Inherited from NSView)
IsSpringLoaded
KeyEquivalent
KeyEquivalentModifierMask
LastBaselineAnchor (Inherited from NSView)
LastBaselineOffsetFromBottom (Inherited from NSView)
Layer (Inherited from NSView)
LayerContentsPlacement (Inherited from NSView)
LayerContentsRedrawPolicy (Inherited from NSView)
LayerUsesCoreImageFilters (Inherited from NSView)
LayoutGuides (Inherited from NSView)
LayoutMarginsGuide (Inherited from NSView)
LeadingAnchor (Inherited from NSView)
LeftAnchor (Inherited from NSView)
LineBreakMode (Inherited from NSControl)
MaxAcceleratorLevel
Menu (Inherited from NSResponder)
MouseDownCanMoveWindow (Inherited from NSView)
NeedsDisplay (Inherited from NSView)
NeedsLayout (Inherited from NSView)
NeedsPanelToBecomeKey (Inherited from NSView)
NeedsUpdateConstraints (Inherited from NSView)
NextKeyView (Inherited from NSView)
NextResponder (Inherited from NSResponder)
NextValidKeyView (Inherited from NSView)
NIntValue (Inherited from NSControl)
ObjectValue (Inherited from NSControl)
OpaqueAncestor (Inherited from NSView)
PageFooter (Inherited from NSView)
PageHeader (Inherited from NSView)
PostsBoundsChangedNotifications (Inherited from NSView)
PostsFrameChangedNotifications (Inherited from NSView)
PrefersCompactControlSizeMetrics (Inherited from NSView)
PreparedContentRect (Inherited from NSView)
PreservesContentDuringLiveResize (Inherited from NSView)
PressureConfiguration (Inherited from NSView)
PreviousKeyView (Inherited from NSView)
PreviousValidKeyView (Inherited from NSView)
PrintJobTitle (Inherited from NSView)
RectPreservedDuringLiveResize (Inherited from NSView)
RefusesFirstResponder (Inherited from NSControl)
RetainCount (Inherited from NSObject)
RightAnchor (Inherited from NSView)
SafeAreaInsets (Inherited from NSView)
SafeAreaLayoutGuide (Inherited from NSView)
SafeAreaRect (Inherited from NSView)
SelectedCell (Inherited from NSControl)
SelectedTag (Inherited from NSControl)
Self (Inherited from NSObject)
Shadow (Inherited from NSView)
ShouldDrawColor (Inherited from NSView)
ShowsBorderOnlyWhileMouseInside
Sound
State
StringValue (Inherited from NSControl)
Subviews (Inherited from NSView)
Superclass (Inherited from NSObject)
SuperHandle

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

(Inherited from NSObject)
Superview (Inherited from NSView)
SymbolConfiguration
Tag (Inherited from NSControl)
Target (Inherited from NSControl)
TintProminence
Title
ToolTip (Inherited from NSView)
TopAnchor (Inherited from NSView)
TouchBar (Inherited from NSResponder)
TrailingAnchor (Inherited from NSView)
TranslatesAutoresizingMaskIntoConstraints (Inherited from NSView)
Transparent
UserActivity (Inherited from NSResponder)
UserInterfaceLayoutDirection (Inherited from NSView)
UsesSingleLineMode (Inherited from NSControl)
VerticalContentSizeConstraintActive (Inherited from NSView)
WantsBestResolutionOpenGLSurface (Inherited from NSView)
WantsDefaultClipping (Inherited from NSView)
WantsLayer (Inherited from NSView)
WantsPeriodicDraggingUpdates (Inherited from NSView)
WantsRestingTouches (Inherited from NSView)
WantsUpdateLayer (Inherited from NSView)
WidthAdjustLimit (Inherited from NSView)
WidthAnchor (Inherited from NSView)
Window (Inherited from NSView)
WritingToolsCoordinator (Inherited from NSView)
Zone (Inherited from NSObject)

Methods

Name Description
AbortEditing() (Inherited from NSControl)
AcceptsFirstMouse(NSEvent) (Inherited from NSView)
AcceptsFirstResponder() (Inherited from NSResponder)
AccessibilityPerformAction(NSString) (Inherited from NSView)
AccessibilityPerformCancel() (Inherited from NSView)
AccessibilityPerformConfirm() (Inherited from NSView)
AccessibilityPerformDecrement() (Inherited from NSView)
AccessibilityPerformDelete() (Inherited from NSView)
AccessibilityPerformIncrement() (Inherited from NSView)
AccessibilityPerformPick() (Inherited from NSView)
AccessibilityPerformPress()
AccessibilityPerformRaise() (Inherited from NSView)
AccessibilityPerformShowAlternateUI() (Inherited from NSView)
AccessibilityPerformShowDefaultUI() (Inherited from NSView)
AccessibilityPerformShowMenu() (Inherited from NSView)
AddConstraint(NSLayoutConstraint) (Inherited from NSView)
AddConstraints(NSLayoutConstraint[]) (Inherited from NSView)
AddCursorRect(CGRect, NSCursor) (Inherited from NSView)
AddGestureRecognizer(NSGestureRecognizer) (Inherited from NSView)
AddLayoutGuide(NSLayoutGuide) (Inherited from NSView)
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)
AddSubview(NSView, NSWindowOrderingMode, NSView) (Inherited from NSView)
AddSubview(NSView) (Inherited from NSView)
AddToolTip(CGRect, INSToolTipOwner, IntPtr) (Inherited from NSView)
AddToolTip(CGRect, INSToolTipOwner) (Inherited from NSView)
AddToolTip(CGRect, NSObject, IntPtr) (Inherited from NSView)
AddToolTip(CGRect, NSObject) (Inherited from NSView)
AddTrackingArea(NSTrackingArea) (Inherited from NSView)
AddTrackingRect(CGRect, NSObject, IntPtr, Boolean) (Inherited from NSView)
AdjustPageHeightNew(NFloat, NFloat, NFloat, NFloat) (Inherited from NSView)
AdjustPageWidthNew(NFloat, NFloat, NFloat, NFloat) (Inherited from NSView)
AdjustScroll(CGRect) (Inherited from NSView)
AllocateGState() (Inherited from NSView)
AncestorSharedWithView(NSView) (Inherited from NSView)
AnimationFor(NSString) (Inherited from NSView)
Autoscroll(NSEvent) (Inherited from NSView)
AwakeFromNib() (Inherited from NSObject)
BackingAlignedRect(CGRect, NSAlignmentOptions) (Inherited from NSView)
BecomeFirstResponder() (Inherited from NSResponder)
BeginDocument() (Inherited from NSView)
BeginDraggingSession(NSDraggingItem[], NSEvent, INSDraggingSource) (Inherited from NSView)
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)
BeginPage(CGRect, CGPoint) (Inherited from NSView)
Bind(NSString, NSObject, String, NSBindingOptions) (Inherited from NSObject)
Bind(NSString, NSObject, String, NSDictionary) (Inherited from NSObject)
BitmapImageRepForCachingDisplayInRect(CGRect) (Inherited from NSView)
CacheDisplay(CGRect, NSBitmapImageRep) (Inherited from NSView)
CalcSize() (Inherited from NSControl)
CanDraw() (Inherited from NSView)
CenterScanRect(CGRect) (Inherited from NSView)
ChangeMode(NSEvent) (Inherited from NSResponder)
CommitEditing() (Inherited from NSObject)
CommitEditing(NSObject, Selector, IntPtr) (Inherited from NSObject)
Compress(NSUserInterfaceCompressionOptions[])
ConcludeDragOperation(INSDraggingInfo) (Inherited from NSView)
ConformsToProtocol(NativeHandle) (Inherited from NSObject)
ContextMenuKeyDown(NSEvent) (Inherited from NSResponder)
ConvertPointFromBacking(CGPoint) (Inherited from NSView)
ConvertPointFromBase(CGPoint) (Inherited from NSView)
ConvertPointFromLayer(CGPoint) (Inherited from NSView)
ConvertPointFromView(CGPoint, NSView) (Inherited from NSView)
ConvertPointToBacking(CGPoint) (Inherited from NSView)
ConvertPointToBase(CGPoint) (Inherited from NSView)
ConvertPointToLayer(CGPoint) (Inherited from NSView)
ConvertPointToView(CGPoint, NSView) (Inherited from NSView)
ConvertRectFromBacking(CGRect) (Inherited from NSView)
ConvertRectFromBase(CGRect) (Inherited from NSView)
ConvertRectFromLayer(CGRect) (Inherited from NSView)
ConvertRectFromView(CGRect, NSView) (Inherited from NSView)
ConvertRectToBacking(CGRect) (Inherited from NSView)
ConvertRectToBase(CGRect) (Inherited from NSView)
ConvertRectToLayer(CGRect) (Inherited from NSView)
ConvertRectToView(CGRect, NSView) (Inherited from NSView)
ConvertSizeFromBacking(CGSize) (Inherited from NSView)
ConvertSizeFromBase(CGSize) (Inherited from NSView)
ConvertSizeFromLayer(CGSize) (Inherited from NSView)
ConvertSizeFromView(CGSize, NSView) (Inherited from NSView)
ConvertSizeToBacking(CGSize) (Inherited from NSView)
ConvertSizeToBase(CGSize) (Inherited from NSView)
ConvertSizeToLayer(CGSize) (Inherited from NSView)
ConvertSizeToView(CGSize, NSView) (Inherited from NSView)
Copy() (Inherited from NSObject)
CreateButton(NSImage, Action)
CreateButton(String, Action)
CreateButton(String, NSImage, Action)
CreateCheckbox(String, Action)
CreateRadioButton(String, Action)
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) (Inherited from NSView)
DataWithPdfInsideRect(CGRect) (Inherited from NSView)
DidAddSubview(NSView) (Inherited from NSView)
DidChange(NSKeyValueChange, NSIndexSet, NSString) (Inherited from NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
DidChangeBackingProperties() (Inherited from NSView)
DidChangeValue(String) (Inherited from NSObject)
DidCloseMenu(NSMenu, NSEvent) (Inherited from NSView)
DiscardCursorRects() (Inherited from NSView)
Display() (Inherited from NSView)
DisplayIfNeeded() (Inherited from NSView)
DisplayIfNeededIgnoringOpacity() (Inherited from NSView)
DisplayIfNeededInRect(CGRect) (Inherited from NSView)
DisplayIfNeededInRectIgnoringOpacity(CGRect) (Inherited from NSView)
DisplayRect(CGRect) (Inherited from NSView)
DisplayRectIgnoringOpacity(CGRect, NSGraphicsContext) (Inherited from NSView)
DisplayRectIgnoringOpacity(CGRect) (Inherited from NSView)
Dispose()

Releases the resources used by the NSObject object.

(Inherited from NSObject)
Dispose(Boolean)
DoesNotRecognizeSelector(Selector) (Inherited from NSObject)
DragFile(String, CGRect, Boolean, NSEvent) (Inherited from NSView)
DraggingEnded(INSDraggingInfo) (Inherited from NSView)
DraggingEntered(INSDraggingInfo) (Inherited from NSView)
DraggingExited(INSDraggingInfo) (Inherited from NSView)
DraggingUpdated(INSDraggingInfo) (Inherited from NSView)
DragImage(NSImage, CGPoint, CGSize, NSEvent, NSPasteboard, NSObject, Boolean) (Inherited from NSView)
DragPromisedFilesOfTypes(String[], CGRect, NSObject, Boolean, NSEvent) (Inherited from NSView)
DrawCell(NSCell) (Inherited from NSControl)
DrawCellInside(NSCell) (Inherited from NSControl)
DrawFocusRingMask() (Inherited from NSView)
DrawPageBorder(CGSize) (Inherited from NSView)
DrawRect(CGRect) (Inherited from NSView)
DrawSheetBorder(CGSize) (Inherited from NSView)
DrawWithExpansionFrame(CGRect, NSView) (Inherited from NSControl)
EditWithFrame(CGRect, NSText, NSObject, NSEvent) (Inherited from NSControl)
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)
EndDocument() (Inherited from NSView)
EndEditing(NSText) (Inherited from NSControl)
EndGestureWithEvent(NSEvent) (Inherited from NSResponder)
EndPage() (Inherited from NSView)
EnterFullscreenModeWithOptions(NSScreen, NSDictionary) (Inherited from NSView)
Equals(NSObject) (Inherited from NSObject)
Equals(Object) (Inherited from NSObject)
ExerciseAmbiguityInLayout() (Inherited from NSView)
ExitFullscreenModeWithOptions(NSDictionary) (Inherited from NSView)
FlagsChanged(NSEvent) (Inherited from NSResponder)
FlushBufferedKeyEvents() (Inherited from NSResponder)
GetAccessibilityActionDescription(NSString) (Inherited from NSView)
GetAccessibilityArrayAttributeCount(NSString) (Inherited from NSView)
GetAccessibilityArrayAttributeValues(NSString, UIntPtr, UIntPtr) (Inherited from NSView)
GetAccessibilityAttributedString(NSRange) (Inherited from NSView)
GetAccessibilityCellForColumn(IntPtr, IntPtr) (Inherited from NSView)
GetAccessibilityFocusedUIElement() (Inherited from NSView)
GetAccessibilityFrame(NSRange) (Inherited from NSView)
GetAccessibilityHitTest(CGPoint) (Inherited from NSView)
GetAccessibilityIndexOfChild(NSObject) (Inherited from NSView)
GetAccessibilityLayoutForScreen(CGPoint) (Inherited from NSView)
GetAccessibilityLayoutForScreen(CGSize) (Inherited from NSView)
GetAccessibilityLine(IntPtr) (Inherited from NSView)
GetAccessibilityRange(CGPoint) (Inherited from NSView)
GetAccessibilityRange(IntPtr) (Inherited from NSView)
GetAccessibilityRangeForLine(IntPtr) (Inherited from NSView)
GetAccessibilityRtf(NSRange) (Inherited from NSView)
GetAccessibilityScreenForLayout(CGPoint) (Inherited from NSView)
GetAccessibilityScreenForLayout(CGSize) (Inherited from NSView)
GetAccessibilityString(NSRange) (Inherited from NSView)
GetAccessibilityStyleRange(IntPtr) (Inherited from NSView)
GetAccessibilityValue(NSString, NSObject) (Inherited from NSView)
GetAccessibilityValue(NSString) (Inherited from NSView)
GetAlignmentRectForFrame(CGRect) (Inherited from NSView)
GetBindingInfo(NSString) (Inherited from NSObject)
GetBindingOptionDescriptions(NSString) (Inherited from NSObject)
GetBindingValueClass(NSString) (Inherited from NSObject)
GetConstraintsAffectingLayout(NSLayoutConstraintOrientation) (Inherited from NSView)
GetContentCompressionResistancePriority(NSLayoutConstraintOrientation) (Inherited from NSView)
GetContentHuggingPriorityForOrientation(NSLayoutConstraintOrientation) (Inherited from NSView)
GetDictionaryOfValuesFromKeys(NSString[]) (Inherited from NSObject)
GetDisplayLink(NSObject, Selector) (Inherited from NSView)
GetEdgeInsets(NSViewLayoutRegion) (Inherited from NSView)
GetFrameForAlignmentRect(CGRect) (Inherited from NSView)
GetHashCode()

Generates a hash code for the current instance.

(Inherited from NSObject)
GetLayoutGuide(NSViewLayoutRegion) (Inherited from NSView)
GetMethodForSelector(Selector) (Inherited from NSObject)
GetMinimumSize(NSUserInterfaceCompressionOptions[])
GetNativeHash() (Inherited from NSObject)
GetNewWindowForTab(NSObject) (Inherited from NSResponder)
GetPeriodicDelay(Single, Single)
GetRect(NSViewLayoutRegion) (Inherited from NSView)
GState() (Inherited from NSView)
HelpRequested(NSEvent) (Inherited from NSResponder)
Highlight(Boolean)
HitTest(CGPoint) (Inherited from NSView)
Init() (Inherited from NSObject)
InitializeHandle(NativeHandle, String) (Inherited from NSObject)
InitializeHandle(NativeHandle) (Inherited from NSObject)
InterpretKeyEvents(NSEvent[]) (Inherited from NSResponder)
InvalidateIntrinsicContentSize() (Inherited from NSView)
InvalidateIntrinsicContentSizeForCell(NSCell) (Inherited from NSControl)
InvalidateRestorableState() (Inherited from NSResponder)
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)
IsAccessibilityAttributeSettable(NSString) (Inherited from NSView)
IsAccessibilitySelectorAllowed(Selector) (Inherited from NSView)
IsDescendantOf(NSView) (Inherited from NSView)
IsEqual(NSObject) (Inherited from NSObject)
IsKindOfClass(Class) (Inherited from NSObject)
IsMemberOfClass(Class) (Inherited from NSObject)
IsMouseInRect(CGPoint, CGRect) (Inherited from NSView)
KeyDown(NSEvent) (Inherited from NSResponder)
KeyUp(NSEvent) (Inherited from NSResponder)
KnowsPageRange(NSRange) (Inherited from NSView)
Layout() (Inherited from NSView)
LayoutSubtreeIfNeeded() (Inherited from NSView)
LocationOfPrintRect(CGRect) (Inherited from NSView)
LockFocus() (Inherited from NSView)
LockFocusIfCanDraw() (Inherited from NSView)
LockFocusIfCanDrawInContext(NSGraphicsContext) (Inherited from NSView)
MagnifyWithEvent(NSEvent) (Inherited from NSResponder)
MakeBackingLayer() (Inherited from NSView)
MarkDirty()

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

(Inherited from NSObject)
MenuForEvent(NSEvent) (Inherited from NSView)
MouseCancelled(NSEvent) (Inherited from NSResponder)
MouseDown(NSEvent) (Inherited from NSControl)
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)
MutableCopy() (Inherited from NSObject)
NeedsToDraw(CGRect) (Inherited from NSView)
NoResponderFor(Selector) (Inherited from NSResponder)
NoteFocusRingMaskChanged() (Inherited from NSView)
ObjectDidEndEditing(NSObject) (Inherited from NSObject)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr) (Inherited from NSObject)
OtherMouseDown(NSEvent) (Inherited from NSResponder)
OtherMouseDragged(NSEvent) (Inherited from NSResponder)
OtherMouseUp(NSEvent) (Inherited from NSResponder)
PerformClick(NSObject) (Inherited from NSControl)
PerformDragOperation(INSDraggingInfo) (Inherited from NSView)
PerformKeyEquivalent(NSEvent)
PerformMnemonic(String) (Inherited from NSView)
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)
PrepareContentInRect(CGRect) (Inherited from NSView)
PrepareForDragOperation(INSDraggingInfo) (Inherited from NSView)
PrepareForInterfaceBuilder() (Inherited from NSObject)
PrepareForReuse() (Inherited from NSView)
PresentError(NSError, NSWindow, NSObject, Selector, IntPtr) (Inherited from NSResponder)
PresentError(NSError) (Inherited from NSResponder)
PressureChange(NSEvent) (Inherited from NSResponder)
Print(NSObject) (Inherited from NSView)
QuickLook(NSEvent) (Inherited from NSResponder)
RectForPage(IntPtr) (Inherited from NSView)
RectForSmartMagnificationAtPoint(CGPoint, CGRect) (Inherited from NSView)
RegisteredDragTypes() (Inherited from NSView)
RegisterForDraggedTypes(String[]) (Inherited from NSView)
ReleaseGState() (Inherited from NSView)
RemoveAllToolTips() (Inherited from NSView)
RemoveConstraint(NSLayoutConstraint) (Inherited from NSView)
RemoveConstraints(NSLayoutConstraint[]) (Inherited from NSView)
RemoveCursorRect(CGRect, NSCursor) (Inherited from NSView)
RemoveFromSuperview() (Inherited from NSView)
RemoveFromSuperviewWithoutNeedingDisplay() (Inherited from NSView)
RemoveGestureRecognizer(NSGestureRecognizer) (Inherited from NSView)
RemoveLayoutGuide(NSLayoutGuide) (Inherited from NSView)
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)
RemoveToolTip(IntPtr) (Inherited from NSView)
RemoveTrackingArea(NSTrackingArea) (Inherited from NSView)
RemoveTrackingRect(IntPtr) (Inherited from NSView)
RenewGState() (Inherited from NSView)
ReplaceSubviewWith(NSView, NSView) (Inherited from NSView)
ResetCursorRects() (Inherited from NSView)
ResignFirstResponder() (Inherited from NSResponder)
ResizeSubviewsWithOldSize(CGSize) (Inherited from NSView)
ResizeWithOldSuperviewSize(CGSize) (Inherited from NSView)
RespondsToSelector(Selector) (Inherited from NSObject)
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)
RotateByAngle(NFloat) (Inherited from NSView)
RotateWithEvent(NSEvent) (Inherited from NSResponder)
ScaleUnitSquareToSize(CGSize) (Inherited from NSView)
ScrollPoint(CGPoint) (Inherited from NSView)
ScrollRect(CGRect, CGSize) (Inherited from NSView)
ScrollRectToVisible(CGRect) (Inherited from NSView)
ScrollWheel(NSEvent) (Inherited from NSResponder)
SelectCell(NSCell) (Inherited from NSControl)
SelectWithFrame(CGRect, NSText, NSObject, IntPtr, IntPtr) (Inherited from NSControl)
SendAction(Selector, NSObject) (Inherited from NSControl)
SendActionOn(NSEventType) (Inherited from NSControl)
SetAccessibilityValue(NSString, NSObject) (Inherited from NSView)
SetBoundsOrigin(CGPoint) (Inherited from NSView)
SetBoundsSize(CGSize) (Inherited from NSView)
SetButtonType(NSButtonType)
SetContentCompressionResistancePriority(Single, NSLayoutConstraintOrientation) (Inherited from NSView)
SetContentHuggingPriorityForOrientation(Single, NSLayoutConstraintOrientation) (Inherited from NSView)
SetFrameOrigin(CGPoint) (Inherited from NSView)
SetFrameSize(CGSize) (Inherited from NSView)
SetKeyboardFocusRingNeedsDisplay(CGRect) (Inherited from NSView)
SetNeedsDisplay() (Inherited from NSControl)
SetNeedsDisplayInRect(CGRect) (Inherited from NSView)
SetNextState()
SetNilValueForKey(NSString) (Inherited from NSObject)
SetPeriodicDelay(Single, Single)
SetTitleWithMnemonic(String)
SetUpGState() (Inherited from NSView)
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)
ShouldDelayWindowOrderingForEvent(NSEvent) (Inherited from NSView)
ShowContextHelp(NSObject) (Inherited from NSResponder)
SizeThatFits(CGSize) (Inherited from NSControl)
SizeToFit() (Inherited from NSControl)
SmartMagnify(NSEvent) (Inherited from NSResponder)
SortSubviews(Func<NSView,NSView,NSComparisonResult>) (Inherited from NSView)
SupplementalTargetForAction(Selector, NSObject) (Inherited from NSResponder)
SwipeWithEvent(NSEvent) (Inherited from NSResponder)
TabletPoint(NSEvent) (Inherited from NSResponder)
TabletProximity(NSEvent) (Inherited from NSResponder)
TakeDoubleValueFrom(NSObject) (Inherited from NSControl)
TakeFloatValueFrom(NSObject) (Inherited from NSControl)
TakeIntegerValueFrom(NSObject) (Inherited from NSControl)
TakeIntValueFrom(NSObject) (Inherited from NSControl)
TakeObjectValueFrom(NSObject) (Inherited from NSControl)
TakeStringValueFrom(NSObject) (Inherited from NSControl)
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)
TrackingAreas() (Inherited from NSView)
TranslateOriginToPoint(CGPoint) (Inherited from NSView)
TranslateRectsNeedingDisplay(CGRect, CGSize) (Inherited from NSView)
TryToPerformwith(Selector, NSObject) (Inherited from NSResponder)
Unbind(NSString) (Inherited from NSObject)
UnlockFocus() (Inherited from NSView)
UnregisterDraggedTypes() (Inherited from NSView)
UpdateCell(NSCell) (Inherited from NSControl)
UpdateCellInside(NSCell) (Inherited from NSControl)
UpdateConstraints() (Inherited from NSView)
UpdateConstraintsForSubtreeIfNeeded() (Inherited from NSView)
UpdateLayer() (Inherited from NSView)
UpdateTrackingAreas() (Inherited from NSView)
UpdateUserActivityState(NSUserActivity) (Inherited from NSResponder)
ValidateEditing() (Inherited from NSControl)
ValidateProposedFirstResponder(NSResponder, NSEvent) (Inherited from NSResponder)
ValidateUserInterfaceItem(INSValidatedUserInterfaceItem)
ValidRequestorForSendType(String, String) (Inherited from NSResponder)
ValueForKey(NSString) (Inherited from NSObject)
ValueForKeyPath(NSString) (Inherited from NSObject)
ValueForUndefinedKey(NSString) (Inherited from NSObject)
ViewDidChangeEffectiveAppearance() (Inherited from NSView)
ViewDidEndLiveResize() (Inherited from NSView)
ViewDidHide() (Inherited from NSView)
ViewDidMoveToSuperview() (Inherited from NSView)
ViewDidMoveToWindow() (Inherited from NSView)
ViewDidUnhide() (Inherited from NSView)
ViewWillDraw() (Inherited from NSView)
ViewWillMoveToSuperview(NSView) (Inherited from NSView)
ViewWillMoveToWindow(NSWindow) (Inherited from NSView)
ViewWillStartLiveResize() (Inherited from NSView)
ViewWithTag(IntPtr) (Inherited from NSView)
VisibleRect() (Inherited from NSView)
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)
WillOpenMenu(NSMenu, NSEvent) (Inherited from NSView)
WillPresentError(NSError) (Inherited from NSResponder)
WillRemoveSubview(NSView) (Inherited from NSView)
WriteEpsInsideRect(CGRect, NSPasteboard) (Inherited from NSView)
WritePdfInsideRect(CGRect, NSPasteboard) (Inherited from NSView)

Events

Name Description
Activated (Inherited from NSControl)

Extension Methods

Name Description
GetAccessibilityAttributedUserInputLabels(INSAccessibility)
GetAccessibilityUserInputLabels(INSAccessibility)
SetAccessibilityAttributedUserInputLabels(INSAccessibility, NSAttributedString[])
SetAccessibilityUserInputLabels(INSAccessibility, String[])
GetAccessibilityFocused(INSAccessibilityElementProtocol)
GetAccessibilityIdentifier(INSAccessibilityElementProtocol)
ConcludeDragOperation(INSDraggingDestination, INSDraggingInfo)
DraggingEnded(INSDraggingDestination, INSDraggingInfo)
DraggingEntered(INSDraggingDestination, INSDraggingInfo)
DraggingExited(INSDraggingDestination, INSDraggingInfo)
DraggingUpdated(INSDraggingDestination, INSDraggingInfo)
GetWantsPeriodicDraggingUpdates(INSDraggingDestination)
PerformDragOperation(INSDraggingDestination, INSDraggingInfo)
PrepareForDragOperation(INSDraggingDestination, INSDraggingInfo)
ObjectDidBeginEditing(NSObject, INSEditor)
ObjectDidEndEditing(NSObject, INSEditor)
GetValidModes(NSObject, NSFontPanel)
ValidateToolbarItem(NSObject, NSToolbarItem)
GetTouchBar(NSResponder)
MakeTouchBar(NSResponder)
SetTouchBar(NSResponder, NSTouchBar)
ShowWritingTools(NSResponder, NSObject)
RulerViewLocation(NSView, NSRulerView, CGPoint)
RulerViewPoint(NSView, NSRulerView, NFloat)
QuickLookPreviewItems(NSResponder, NSObject)
PerformTextFinderAction(NSResponder, NSObject)
GetCandidateListTouchBarItem(NSView)
GetAllowedTouchTypes(NSView)
SetAllowedTouchTypes(NSView, NSTouchTypeMask)
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