Share via


UIView Class

Definition

[Foundation.Register("UIView", true)]
public class UIView : UIKit.UIResponder, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, IDisposable, System.Collections.IEnumerable, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, UIKit.IUILargeContentViewerItem, UIKit.IUIPopoverPresentationControllerSourceItem, UIKit.IUITraitChangeObservable, UIKit.IUITraitEnvironment
[Foundation.Register("UIView", true)]
public class UIView : UIKit.UIResponder, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, IDisposable, System.Collections.IEnumerable, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, UIKit.IUITraitChangeObservable, UIKit.IUITraitEnvironment
[<Foundation.Register("UIView", true)>]
type UIView = class
    inherit UIResponder
    interface IEnumerable
    interface INSCoding
    interface INativeObject
    interface IDisposable
    interface IUIAccessibilityIdentification
    interface IUIAppearance
    interface IUIAppearanceContainer
    interface IUICoordinateSpace
    interface IUIDynamicItem
    interface IUIFocusEnvironment
    interface IUIFocusItem
    interface IUIFocusItemContainer
    interface IUILargeContentViewerItem
    interface IUIPopoverPresentationControllerSourceItem
    interface IUITraitChangeObservable
    interface IUITraitEnvironment
    interface ICALayerDelegate
[<Foundation.Register("UIView", true)>]
type UIView = class
    inherit UIResponder
    interface IEnumerable
    interface INSCoding
    interface INativeObject
    interface IDisposable
    interface IUIAccessibilityIdentification
    interface IUIAppearance
    interface IUIAppearanceContainer
    interface IUICoordinateSpace
    interface IUIDynamicItem
    interface IUIFocusEnvironment
    interface IUIFocusItem
    interface IUIFocusItemContainer
    interface IUITraitChangeObservable
    interface IUITraitEnvironment
    interface ICALayerDelegate
Inheritance
Derived
Attributes
Implements

Constructors

UIView()

Creates a new UIView with default values.

UIView(CGRect)
UIView(NativeHandle)

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

UIView(NSCoder)

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

UIView(NSObjectFlag)

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

Properties

AccessibilityActivationPoint
AccessibilityAssistiveTechnologyFocusedIdentifiers (Inherited from UIResponder)
AccessibilityAttributedHint
AccessibilityAttributedLabel
AccessibilityAttributedUserInputLabels
AccessibilityAttributedValue
AccessibilityCustomActions (Inherited from UIResponder)
AccessibilityDirectTouchOptions
AccessibilityDragSourceDescriptors (Inherited from UIResponder)
AccessibilityDropPointDescriptors (Inherited from UIResponder)
AccessibilityElementsHidden
AccessibilityExpandedStatus
AccessibilityFrame
AccessibilityHeaderElements
AccessibilityHint
AccessibilityIdentifier

Uniquely identifies this for the purposes of accessibility.

AccessibilityIgnoresInvertColors
AccessibilityLabel
AccessibilityLanguage
AccessibilityNavigationStyle
AccessibilityPath
AccessibilityRespondsToUserInteraction
AccessibilityTextualContext
AccessibilityTraits
AccessibilityUserInputLabels
AccessibilityValue
AccessibilityViewIsModal
ActivityItemsConfiguration (Inherited from UIResponder)
AlignmentRectInsets
Alpha
AnchorPoint
AnimationsEnabled
AnnouncementDidFinishNotification

Notification constant for AnnouncementDidFinish

AnnouncementNotification

Gets the notification posted by an application that an announcement requires assistive technology.

Appearance

Strongly-typed property that returns the UIAppearance class for this class.

AppliedContentSizeCategoryLimitsDescription
AssistiveTechnologyKey

Notification constant for AssistiveTechnologyKey

AssistiveTouchStatusDidChangeNotification

Notification constant for AssistiveTouchStatusDidChange

AutoresizingMask
AutosizesSubviews
BackgroundColor

The color used for the background.

BoldTextStatusDidChangeNotification

Notification constant for BoldTextStatusDidChange

BottomAnchor
Bounds
ButtonShapesEnabledStatusDidChangeNotification

Notification constant for ButtonShapesEnabledStatusDidChange

CanBecomeFirstResponder (Inherited from UIResponder)
CanBecomeFocused
CanResignFirstResponder (Inherited from UIResponder)
Center
CenterXAnchor
CenterYAnchor
Class (Inherited from NSObject)
ClassHandle

The Objective-C class handle for this class.

ClearsContextBeforeDrawing
ClipsToBounds
ClosedCaptioningStatusDidChangeNotification

Notification constant for ClosedCaptioningStatusDidChange

CollisionBoundingPath

Returns the closed path that is used for collision detection.

CollisionBoundsType

Returns a value that tells how collision bounds are specified.

Constraints
ContentMode
ContentScaleFactor
ContentStretch
CoordinateSpace

Gets the coordinate space implemenation.

CornerConfiguration
DarkerSystemColorsStatusDidChangeNotification

Notification constant for DarkerSystemColorsStatusDidChange

DebugDescription (Inherited from NSObject)
Description (Inherited from NSObject)
DirectionalLayoutMargins
EditingInteractionConfiguration (Inherited from UIResponder)
EffectiveUserInterfaceLayoutDirection
ElementFocusedNotification

Notification constant for ElementFocused

ExclusiveTouch

Restricts the event delivery to this view.

FirstBaselineAnchor
Focused

Whether the UIView is the focused view.

FocusedElementKey

Notification constant for FocusedElementKey

FocusEffect
FocusGroupIdentifier
FocusGroupPriority
FocusItemContainer

Gets the container that manages focus information for child focus items.

FocusItemDeferralMode
Frame
GestureRecognizers
GrayscaleStatusDidChangeNotification

Notification constant for GrayscaleStatusDidChange

GuidedAccessStatusDidChangeNotification

Notification constant for GuidedAccessStatusDidChange

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from NSObject)
HasAmbiguousLayout
HearingDevicePairedEarDidChangeNotification

Notification constant for HearingDevicePairedEarDidChange

HeightAnchor
Hidden

Specifies whether the UIView displays or not.

HoverStyle
InheritedAnimationDuration
InputAccessoryView (Inherited from UIResponder)
InputAccessoryViewController (Inherited from UIResponder)
InputAssistantItem (Inherited from UIResponder)
InputView (Inherited from UIResponder)
InputViewController (Inherited from UIResponder)
InsetsLayoutMarginsFromSafeArea
Interactions
IntrinsicContentSize
InvertColorsStatusDidChangeNotification

Notification constant for InvertColorsStatusDidChange

IsAccessibilityElement
IsDirectBinding (Inherited from NSObject)
IsFirstResponder (Inherited from UIResponder)
IsProxy (Inherited from NSObject)
IsTransparentFocusItem
KeyboardLayoutGuide
KeyCommands (Inherited from UIResponder)
LargeContentImage
LargeContentImageInsets
LargeContentTitle
LastBaselineAnchor
Layer
LayoutChangedNotification

Gets the notification posted by an application that the layout of a screen has changed.

LayoutGuides
LayoutMargins
LayoutMarginsGuide
LeadingAnchor
LeftAnchor
MaskView
MaximumContentSizeCategory
MinimumContentSizeCategory
MonoAudioStatusDidChangeNotification

Notification constant for MonoAudioStatusDidChange

MotionEffects
MultipleTouchEnabled

Controls whether the UIView can handle multitouch events.

NextResponder (Inherited from UIResponder)
NoIntrinsicMetric

Represents the value associated with the constant UIViewNoIntrinsicMetric

NotificationSwitchControlIdentifier

Notification constant for NotificationSwitchContr

NotificationVoiceOverIdentifier

Notification constant for NotificationVoiceOv

OnOffSwitchLabelsDidChangeNotification

Notification constant for OnOffSwitchLabelsDidChange

Opaque

Determines whether the view is opaque or not.

OverrideUserInterfaceStyle
PageScrolledNotification

Gets the notification posted by an application that a scroll action has finished.

ParentFocusEnvironment

Gets the parent focus environment.

PasteConfiguration

The UIPasteConfiguration supported by this object.

(Inherited from UIResponder)
PauseAssistiveTechnologyNotification

Pauses assistive technology notifications.

PreferredFocusedView

If not null, indicates the child UIView that should receive focus by default.

PreferredFocusEnvironments

Gets the list of focus environments, ordered by priority, that the environment prefers when updating the focus.

PrefersCrossFadeTransitionsStatusDidChangeNotification

Notification constant for PrefersCrossFadeTransitionsStatusDidChange

PreservesSuperviewLayoutMargins
ReadableContentGuide
ReduceMotionStatusDidChangeNotification

Notification constant for ReduceMotionStatusDidChange

ReduceTransparencyStatusDidChangeNotification

Notification constant for ReduceTransparencyStatusDidChange

RestorationIdentifier
ResumeAssistiveTechnologyNotification

Resumes assistive technology notifications.

RetainCount (Inherited from NSObject)
RightAnchor
SafeAreaInsets
SafeAreaLayoutGuide
ScalesLargeContentImage
ScreenChangedNotification

Gets the notification posted by an application that a new view appears that includes a major portion of the screen.

Self (Inherited from NSObject)
SemanticContentAttribute
ShakeToUndoDidChangeNotification

Notification constant for ShakeToUndoDidChange

ShouldDifferentiateWithoutColorDidChangeNotification

Notification constant for ShouldDifferentiateWithoutColorDidChange

ShouldGroupAccessibilityChildren
ShowsLargeContentViewer
SpeakScreenStatusDidChangeNotification

Notification constant for SpeakScreenStatusDidChange

SpeakSelectionStatusDidChangeNotification

Notification constant for SpeakSelectionStatusDidChange

SpeechAttributeAnnouncementPriority

Represents the value associated with the constant 'UIAccessibilitySpeechAttributeAnnouncementPriority'.

SpeechAttributeIpaNotation

Returns the IPA notation for the accessibility attributed string.

SpeechAttributeLanguage

Gets a BCP-47 language code.

SpeechAttributePitch

Gets the value from 0.0 to 2.0 that determines the pitch for a spoken string.

SpeechAttributePunctuation

Gets a value to be interpreted as a bool that determines whether the punctuation in a string is pronounced.

SpeechAttributeQueueAnnouncement

Key for option that spoken text interrupt existing spoken content.

SpeechAttributeSpellOut

Represents the value associated with the constant 'UIAccessibilitySpeechAttributeSpellOut'.

Subviews
Superclass (Inherited from NSObject)
SuperHandle

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

(Inherited from NSObject)
Superview
SwitchControlStatusDidChangeNotification

Notification constant for SwitchControlStatusDidChange

Tag
TextAttributeContext

Represents the value associated with the constant 'UIAccessibilityTextAttributeContext'.

TextAttributeCustom

Key for option that custom attributes be applied to the accessibility text.

TextAttributeHeadingLevel

Key for option of the accessibility text's heading level.

TextInputContextIdentifier (Inherited from UIResponder)
TextInputMode (Inherited from UIResponder)
TintAdjustmentMode
TintColor

The color used for tinting.

TopAnchor
TouchBar (Inherited from UIResponder)
TrailingAnchor
TraitAdjustable
Obsolete.

Gets a trait that allows continuous adjustment of an accessibility element through a range of values.

TraitAllowsDirectInteraction
Obsolete.

Gets a trait that allows direct touch interaction for users.

TraitButton
Obsolete.

Gets a trait that indicates that this IUIAccessibilityIdentification element should be treated as a button.

TraitCausesPageTurn
Obsolete.

Gets a trait that indicates that this IUIAccessibilityIdentification element should turn the page when VoiceOver finishes that page.

TraitCollection

Gets the trait collection that describes the environment.

TraitHeader
Obsolete.

Gets a trait that indicates that this IUIAccessibilityIdentification element is a header that divides content into sections.

TraitImage
Obsolete.

Gets a trait that indicates that this IUIAccessibilityIdentification element should be treated as an image.

TraitKeyboardKey
Obsolete.

Gets a trait that indicates that this IUIAccessibilityIdentification element acts like a keyboard key.

TraitLink
Obsolete.

Gets a trait that indicates that this IUIAccessibilityIdentification element should be considered a link.

TraitNone
Obsolete.

Gets a trait that indicates that this IUIAccessibilityIdentification element has no traits.

TraitNotEnabled
Obsolete.

Gets a trait that indicates that this IUIAccessibilityIdentification element is not enabled.

TraitOverrides
TraitPlaysSound
Obsolete.

Gets a trait that indicates that this IUIAccessibilityIdentification elements plays its own sound when activated.

TraitSearchField
Obsolete.

Gets a trait that indicates that this IUIAccessibilityIdentification element should be considered a search field.

TraitSelected
Obsolete.

Gets a trait that indicates that this IUIAccessibilityIdentification element is selected.

TraitStartsMediaSession
Obsolete.

Gets a trait that indicates that this IUIAccessibilityIdentification element starts a media session when it is activated.

TraitStaticText
Obsolete.

Gets a trait that indicates that this IUIAccessibilityIdentification element should be treated as static text.

TraitSummaryElement
Obsolete.

Gets a trait that provides summary information when an application starts.

TraitTabBar
Obsolete.

Represents the value associated with the constant 'UIAccessibilityTraitTabBar'.

TraitUpdatesFrequently
Obsolete.

Gets a trait that indicates that this IUIAccessibilityIdentification element updates its AccessibilityLabel or AccessibilityValue.

Transform
Transform3D
TranslatesAutoresizingMaskIntoConstraints
UILayoutFittingCompressedSize

Represents the value associated with the constant UILayoutFittingCompressedSize

UILayoutFittingExpandedSize

Represents the value associated with the constant UILayoutFittingExpandedSize

UndoManager (Inherited from UIResponder)
UnfocusedElementKey

Notification constant for UnfocusedElementKey

UserActivity (Inherited from UIResponder)
UserInteractionEnabled

Determines whether input events are processed by this view.

VideoAutoplayStatusDidChangeNotification

Notification constant for VideoAutoplayStatusDidChange

ViewForBaselineLayout
ViewForFirstBaselineLayout
ViewForLastBaselineLayout
ViewPrintFormatter
VoiceOverStatusChanged

Developers should not use this deprecated property. Developers should use 'VoiceOverStatusDidChangeNotification' instead.

VoiceOverStatusDidChangeNotification

Notification constant for VoiceOverStatusDidChange

WidthAnchor
Window
Zone (Inherited from NSObject)

Methods

AccessibilityActivate()
AccessibilityDecrement() (Inherited from UIResponder)
AccessibilityElementDidBecomeFocused() (Inherited from UIResponder)
AccessibilityElementDidLoseFocus() (Inherited from UIResponder)
AccessibilityElementIsFocused() (Inherited from UIResponder)
AccessibilityIncrement() (Inherited from UIResponder)
AccessibilityPerformEscape() (Inherited from UIResponder)
AccessibilityPerformMagicTap() (Inherited from UIResponder)
AccessibilityScroll(UIAccessibilityScrollDirection) (Inherited from UIResponder)
ActionForLayer(CALayer, String)
Add(UIView)

This is an alias for AddSubview(UIView), but uses the Add pattern as it allows C# 3.0 constructs to add subviews after creating the object.

AddConstraint(NSLayoutConstraint)
AddConstraints(NSLayoutConstraint[])
AddGestureRecognizer(UIGestureRecognizer)
AddInteraction(IUIInteraction)
AddKeyframeWithRelativeStartTime(Double, Double, Action)
AddLayoutGuide(UILayoutGuide)
AddMotionEffect(UIMotionEffect)
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(UIView)
AddSubviews(UIView[])

Convenience routine to add various views to a UIView.

AlignCenter(NSObject) (Inherited from UIResponder)
AlignJustified(NSObject) (Inherited from UIResponder)
AlignLeft(NSObject) (Inherited from UIResponder)
AlignmentRectForFrame(CGRect)
AlignRight(NSObject) (Inherited from UIResponder)
Animate(Double, Action, Action)

Animates the property changes that take place in the specified action and invokes a completion callback when the animation completes.

Animate(Double, Action)
Animate(Double, Double, UIViewAnimationOptions, Action, Action)

Invokes animation changes to one or more views by specifying duration, delay, options, and a completion handler.

Animate(Double, NFloat, NFloat, Double, UIViewAnimationOptions, Action, Action<Boolean>)
AnimateAsync(Double, Action)

Animates the property changes that take place in the specified animation as an asynchronous operation.

AnimateAsync(Double, NFloat, NFloat, Double, UIViewAnimationOptions, Action)
AnimateKeyframes(Double, Double, UIViewKeyframeAnimationOptions, Action, UICompletionHandler)
AnimateKeyframesAsync(Double, Double, UIViewKeyframeAnimationOptions, Action)

Creates an animation action object that is to be used to set up keyframe-based animations for the current view.

AnimateNotify(Double, Action, UICompletionHandler)
AnimateNotify(Double, Double, NFloat, NFloat, UIViewAnimationOptions, Action, UICompletionHandler)

Executes a view animation that uses a timing curve that corresponds to the activity of a physical spring.

AnimateNotify(Double, Double, UIViewAnimationOptions, Action, UICompletionHandler)
AnimateNotifyAsync(Double, Action)

Animates the property changes that take place in the specified action and invokes a completion callback when the animation completes.

AnimateNotifyAsync(Double, Double, NFloat, NFloat, UIViewAnimationOptions, Action)

Executes a view animation that uses a timing curve that corresponds to the activity of a physical spring.

AnimateNotifyAsync(Double, Double, UIViewAnimationOptions, Action)

Executes the specified animation as an asynchronous operation.

AppearanceWhenContainedIn(Type[])

Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.

AwakeFromNib() (Inherited from NSObject)
BecomeFirstResponder() (Inherited from UIResponder)
BeginAnimations(String, IntPtr)
BeginAnimations(String)

Indicates the beginning of an animation block.

BeginInvokeOnMainThread(Action) (Inherited from NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

Invokes asynchrously the specified code on the main UI thread.

(Inherited from NSObject)
BringSubviewToFront(UIView)
BuildMenu(IUIMenuBuilder) (Inherited from UIResponder)
CanPaste(NSItemProvider[])

Returns true if the responder can paste from the specified item providers.

(Inherited from UIResponder)
CanPerform(Selector, NSObject) (Inherited from UIResponder)
Capture(Boolean)

Performs a screen-capture of the UIView.

CaptureTextFromCamera(NSObject) (Inherited from UIResponder)
CommitAnimations()
ConformsToProtocol(NativeHandle) (Inherited from NSObject)
ContentCompressionResistancePriority(UILayoutConstraintAxis)
ContentHuggingPriority(UILayoutConstraintAxis)
ConvertPointFromCoordinateSpace(CGPoint, IUICoordinateSpace)
ConvertPointFromView(CGPoint, UIView)
ConvertPointToCoordinateSpace(CGPoint, IUICoordinateSpace)
ConvertPointToView(CGPoint, UIView)
ConvertRectFromCoordinateSpace(CGRect, IUICoordinateSpace)
ConvertRectFromView(CGRect, UIView)
ConvertRectToCoordinateSpace(CGRect, IUICoordinateSpace)
ConvertRectToView(CGRect, UIView)
Copy() (Inherited from NSObject)
Copy(NSObject) (Inherited from UIResponder)
CreateTouchBar() (Inherited from UIResponder)
Cut(NSObject) (Inherited from UIResponder)
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)
DecodeRestorableState(NSCoder)
DecreaseSize(NSObject) (Inherited from UIResponder)
Delete(NSObject) (Inherited from UIResponder)
DidChange(NSKeyValueChange, NSIndexSet, NSString) (Inherited from NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
DidChangeValue(String) (Inherited from NSObject)
DidHintFocusMovement(UIFocusMovementHint)

Called when a focus change may soon happen.

DidUpdateFocus(UIFocusUpdateContext, UIFocusAnimationCoordinator)

Delegate method called shortly after focus has changed to a new UIView.

DisplayLayer(CALayer)
Dispose()

Releases the resources used by the NSObject object.

(Inherited from NSObject)
Dispose(Boolean)
DoesNotRecognizeSelector(Selector) (Inherited from NSObject)
Draw(CGRect)
DrawLayer(CALayer, CGContext)
DrawRect(CGRect, UIViewPrintFormatter)
DrawViewHierarchy(CGRect, Boolean)
Duplicate(NSObject) (Inherited from UIResponder)
EncodeRestorableState(NSCoder)
EncodeTo(NSCoder)

Encodes the state of the object using the provided encoder.

Equals(NSObject) (Inherited from NSObject)
Equals(Object) (Inherited from NSObject)
ExchangeSubview(IntPtr, IntPtr)

This method exchanges the indices of two UIViews within the Subviews array.

ExerciseAmbiguityInLayout()
Export(NSObject) (Inherited from UIResponder)
Find(NSObject) (Inherited from UIResponder)
FindAndReplace(NSObject) (Inherited from UIResponder)
FindNext(NSObject) (Inherited from UIResponder)
FindPrevious(NSObject) (Inherited from UIResponder)
FrameForAlignmentRect(CGRect)
GestureRecognizerShouldBegin(UIGestureRecognizer)
GetAppearance(UITraitCollection, Type[])

Obtains the appearance proxy UIView.UIViewAppearance for UIView.

GetAppearance(UITraitCollection)

Obtains the appearance proxy UIView.UIViewAppearance for UIView.

GetAppearance<T>()

Obtains the appearance proxy UIView.UIViewAppearance for the subclass of UIView.

GetAppearance<T>(UITraitCollection, Type[])

Obtains the appearance proxy UIView.UIViewAppearance for the subclass of UIView.

GetAppearance<T>(UITraitCollection)

Obtains the appearance proxy UIView.UIViewAppearance for the subclass of UIView.

GetConstraintsAffectingLayout(UILayoutConstraintAxis)
GetDictionaryOfValuesFromKeys(NSString[]) (Inherited from NSObject)
GetDirectionalEdgeInsets(UIViewLayoutRegion)
GetEdgeInsets(UIViewLayoutRegion)
GetEnumerator()

Returns an enumerator that lists all of the subviews in this view

GetFocusItems(CGRect)

Returns a list of all the child focus items within the specified rectangle.

GetFrame(UIView)
GetHashCode()

Generates a hash code for the current instance.

(Inherited from NSObject)
GetLayoutGuide(UIViewLayoutRegion)
GetMethodForSelector(Selector) (Inherited from NSObject)
GetNativeHash() (Inherited from NSObject)
GetProvider(UIDeferredMenuElement) (Inherited from UIResponder)
GetSoundIdentifier(UIFocusUpdateContext)
GetTargetForAction(Selector, NSObject) (Inherited from UIResponder)
GetUserInterfaceLayoutDirection(UISemanticContentAttribute, UIUserInterfaceLayoutDirection)
GetUserInterfaceLayoutDirection(UISemanticContentAttribute)
HitTest(CGPoint, UIEvent)
IncreaseSize(NSObject) (Inherited from UIResponder)
Init() (Inherited from NSObject)
InitializeHandle(NativeHandle, String) (Inherited from NSObject)
InitializeHandle(NativeHandle) (Inherited from NSObject)
InsertSubview(UIView, IntPtr)

Inserts the specified subview at the specified ___location as a subview of this view.

InsertSubviewAbove(UIView, UIView)
InsertSubviewBelow(UIView, UIView)
InvalidateIntrinsicContentSize()
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)
IsDescendantOfView(UIView)
IsEqual(NSObject) (Inherited from NSObject)
IsKindOfClass(Class) (Inherited from NSObject)
IsMemberOfClass(Class) (Inherited from NSObject)
LayoutIfNeeded()
LayoutMarginsDidChange()
LayoutSublayersOfLayer(CALayer)
LayoutSubviews()
MakeTextWritingDirectionLeftToRight(NSObject) (Inherited from UIResponder)
MakeTextWritingDirectionRightToLeft(NSObject) (Inherited from UIResponder)
MarkDirty()

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

(Inherited from NSObject)
ModifyAnimations(NFloat, Boolean, Action)
MotionBegan(UIEventSubtype, UIEvent) (Inherited from UIResponder)
MotionCancelled(UIEventSubtype, UIEvent) (Inherited from UIResponder)
MotionEnded(UIEventSubtype, UIEvent) (Inherited from UIResponder)
Move(NSObject) (Inherited from UIResponder)
MovedToSuperview()
MovedToWindow()
MutableCopy() (Inherited from NSObject)
NeedsUpdateConstraints()
NewFromPasteboard(NSObject) (Inherited from UIResponder)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr) (Inherited from NSObject)
Paste(NSItemProvider[])

Performs the paste.

(Inherited from UIResponder)
Paste(NSObject) (Inherited from UIResponder)
PasteAndGo(NSObject) (Inherited from UIResponder)
PasteAndMatchStyle(NSObject) (Inherited from UIResponder)
PasteAndSearch(NSObject) (Inherited from UIResponder)
PerformClose(NSObject) (Inherited from UIResponder)
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)
PerformSystemAnimation(UISystemAnimation, UIView[], UIViewAnimationOptions, Action, UICompletionHandler)
PerformSystemAnimationAsync(UISystemAnimation, UIView[], UIViewAnimationOptions, Action)

Performs specified system-provided animation sequence on one or more views, together with user-defined parallel animations.

PerformWithoutAnimation(Action)
PointInside(CGPoint, UIEvent)
PrepareForInterfaceBuilder() (Inherited from NSObject)
PressesBegan(NSSet<UIPress>, UIPressesEvent) (Inherited from UIResponder)
PressesCancelled(NSSet<UIPress>, UIPressesEvent) (Inherited from UIResponder)
PressesChanged(NSSet<UIPress>, UIPressesEvent) (Inherited from UIResponder)
PressesEnded(NSSet<UIPress>, UIPressesEvent) (Inherited from UIResponder)
Print(NSObject) (Inherited from UIResponder)
RegisterForTraitChanges(Action<IUITraitEnvironment,UITraitCollection>, Type[])

Registers a callback handler that will be executed when one of the specified traits changes.

RegisterForTraitChanges(Class[], Action<IUITraitEnvironment,UITraitCollection>)
RegisterForTraitChanges(Class[], NSObject, Selector)
RegisterForTraitChanges(Class[], Selector)
RegisterForTraitChanges(IUITraitDefinition[], Action<IUITraitEnvironment,UITraitCollection>)
RegisterForTraitChanges(IUITraitDefinition[], NSObject, Selector)
RegisterForTraitChanges(IUITraitDefinition[], Selector)
RegisterForTraitChanges(Type[], Action<IUITraitEnvironment,UITraitCollection>)

Registers a callback handler that will be executed when one of the specified traits changes.

RegisterForTraitChanges(Type[], NSObject, Selector)

Registers a selector that will be called on the specified object when any of the specified traits changes.

RegisterForTraitChanges(Type[], Selector)

Registers a selector that will be called on the current object when any of the specified traits changes.

RegisterForTraitChanges<T>(Action<IUITraitEnvironment,UITraitCollection>)

Registers a callback handler that will be executed when the specified trait changes.

RegisterForTraitChanges<T1,T2,T3,T4>(Action<IUITraitEnvironment,UITraitCollection>)

Registers a callback handler that will be executed when any of the specified traits changes.

RegisterForTraitChanges<T1,T2,T3>(Action<IUITraitEnvironment,UITraitCollection>)

Registers a callback handler that will be executed when any of the specified traits changes.

RegisterForTraitChanges<T1,T2>(Action<IUITraitEnvironment,UITraitCollection>)

Registers a callback handler that will be executed when any of the specified traits changes.

ReloadInputViews() (Inherited from UIResponder)
RemoteControlReceived(UIEvent) (Inherited from UIResponder)
RemoveConstraint(NSLayoutConstraint)
RemoveConstraints(NSLayoutConstraint[])
RemoveFromSuperview()
RemoveGestureRecognizer(UIGestureRecognizer)
RemoveInteraction(IUIInteraction)
RemoveLayoutGuide(UILayoutGuide)
RemoveMotionEffect(UIMotionEffect)
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)
Rename(NSObject) (Inherited from UIResponder)
RequiresConstraintBasedLayout()
ResignFirstResponder() (Inherited from UIResponder)
ResizableSnapshotView(CGRect, Boolean, UIEdgeInsets)
RespondsToSelector(Selector) (Inherited from NSObject)
RestoreUserActivityState(NSUserActivity) (Inherited from UIResponder)
SafeAreaInsetsDidChange()
Select(NSObject) (Inherited from UIResponder)
SelectAll(NSObject) (Inherited from UIResponder)
SendSubviewToBack(UIView)
SetAnimationBeginsFromCurrentState(Boolean)
SetAnimationCurve(UIViewAnimationCurve)
SetAnimationDelay(Double)
SetAnimationDelegate(NSObject)
SetAnimationDidStopSelector(Selector)
SetAnimationDuration(Double)
SetAnimationRepeatAutoreverses(Boolean)
SetAnimationRepeatCount(Single)
SetAnimationStartDate(NSDate)
SetAnimationTransition(UIViewAnimationTransition, UIView, Boolean)
SetAnimationWillStartSelector(Selector)
SetContentCompressionResistancePriority(Single, UILayoutConstraintAxis)
SetContentHuggingPriority(Single, UILayoutConstraintAxis)
SetEffectiveRadius(UIRectCorner)
SetNeedsDisplay()
SetNeedsDisplayInRect(CGRect)
SetNeedsFocusUpdate()

When this is the active focus environment, requests a focus update, which can potentially change the PreferredFocusedView. (See also UpdateFocusIfNeeded().)

SetNeedsLayout()
SetNeedsUpdateConstraints()
SetNeedsUpdateProperties()
SetNilValueForKey(NSString) (Inherited from NSObject)
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)
ShouldUpdateFocus(UIFocusUpdateContext)

Called prior to the current object either losing or receiving focus. If either focus environment returns false, the focus update is canceled.

ShowWritingTools(NSObject) (Inherited from UIResponder)
SizeThatFits(CGSize)
SizeToFit()
SnapshotView(Boolean)
SubviewAdded(UIView)
SystemLayoutSizeFittingSize(CGSize, Single, Single)
SystemLayoutSizeFittingSize(CGSize)
TintColorDidChange()
ToggleBoldface(NSObject) (Inherited from UIResponder)
ToggleInspector(NSObject) (Inherited from UIResponder)
ToggleItalics(NSObject) (Inherited from UIResponder)
ToggleSidebar(NSObject) (Inherited from UIResponder)
ToggleUnderline(NSObject) (Inherited from UIResponder)
ToString()

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

(Inherited from NSObject)
TouchesBegan(NSSet, UIEvent) (Inherited from UIResponder)
TouchesCancelled(NSSet, UIEvent) (Inherited from UIResponder)
TouchesEnded(NSSet, UIEvent) (Inherited from UIResponder)
TouchesEstimatedPropertiesUpdated(NSSet) (Inherited from UIResponder)
TouchesMoved(NSSet, UIEvent) (Inherited from UIResponder)
TraitCollectionDidChange(UITraitCollection)

The trait collection that describes the environmnent changed.

Transition(UIView, Double, UIViewAnimationOptions, Action, Action)

Specifies a transition animation on the specified collection view.

Transition(UIView, UIView, Double, UIViewAnimationOptions, Action)

Specifies a transition animation on the specified collection view.

TransitionNotify(UIView, Double, UIViewAnimationOptions, Action, UICompletionHandler)
TransitionNotify(UIView, UIView, Double, UIViewAnimationOptions, UICompletionHandler)
TransitionNotifyAsync(UIView, Double, UIViewAnimationOptions, Action)

Creates a transition animation action that is used for the current container view.

TransitionNotifyAsync(UIView, UIView, Double, UIViewAnimationOptions)

Specifies a transition animation to be used between the specified UIViews.

UnregisterForTraitChanges(IUITraitChangeRegistration)
UpdateConstraints()
UpdateConstraintsIfNeeded()
UpdateFocusIfNeeded()

If any focus environment has a pending update, this method forces an immediate focus update. Unlike SetNeedsFocusUpdate(), this method may be called by any IUIFocusEnvironment, whether it currently contains focus or not.

UpdateProperties()
UpdatePropertiesIfNeeded()
UpdateTextAttributes(UITextAttributesConversionHandler) (Inherited from UIResponder)
UpdateTraitsIfNeeded()
UpdateUserActivityState(NSUserActivity) (Inherited from UIResponder)
UseSelectionForFind(NSObject) (Inherited from UIResponder)
ValidateCommand(UICommand) (Inherited from UIResponder)
ValueForKey(NSString) (Inherited from NSObject)
ValueForKeyPath(NSString) (Inherited from NSObject)
ValueForUndefinedKey(NSString) (Inherited from NSObject)
ViewWithTag(IntPtr)

Returns the UIView identified by the tag. May return null.

WillChange(NSKeyValueChange, NSIndexSet, NSString) (Inherited from NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
WillChangeValue(String) (Inherited from NSObject)
WillDrawLayer(CALayer)

Method that is called when layer is about to be drawn.

WillMoveToSuperview(UIView)
WillMoveToWindow(UIWindow)
WillRemoveSubview(UIView)

Events

AnimationWillEnd

This event is raised when the animations will end.

AnimationWillStart

This event is raised when the animations will start.

Extension Methods

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)
ActionForLayer(ICALayerDelegate, CALayer, String)
DisplayLayer(ICALayerDelegate, CALayer)
DrawLayer(ICALayerDelegate, CALayer, CGContext)
LayoutSublayersOfLayer(ICALayerDelegate, CALayer)
WillDrawLayer(ICALayerDelegate, CALayer)

Method that is called when layer is about to be drawn.

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)
GetPencilKitResponderState(UIResponder)
GetAccessibilityCustomRotors(NSObject)

Gets the array of UIAccessibilityCustomRotor objects appropriate for this object.

SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[])

Sets the array of UIAccessibilityCustomRotor objects appropriate for this object.

AccessibilityHitTest(NSObject, CGPoint, UIEvent)
GetAccessibilityNextTextNavigationElement(NSObject)
GetAccessibilityNextTextNavigationElementBlock(NSObject)
GetAccessibilityPreviousTextNavigationElement(NSObject)
GetAccessibilityPreviousTextNavigationElementBlock(NSObject)
SetAccessibilityNextTextNavigationElement(NSObject, NSObject)
SetAccessibilityNextTextNavigationElementBlock(NSObject, AXObjectReturnBlock)
SetAccessibilityPreviousTextNavigationElement(NSObject, NSObject)
SetAccessibilityPreviousTextNavigationElementBlock(NSObject, AXObjectReturnBlock)
GetAccessibilityTextInputResponder(NSObject)
GetAccessibilityTextInputResponderHandler(NSObject)
SetAccessibilityTextInputResponder(NSObject, IUITextInput)
SetAccessibilityTextInputResponderHandler(NSObject, UITextInputReturnHandler)
GetCollisionBoundingPath(IUIDynamicItem)

Returns the closed path that is used for collision detection.

GetCollisionBoundsType(IUIDynamicItem)

Returns a value that tells how collision bounds are specified.

GetFocusGroupIdentifier(IUIFocusEnvironment)
GetPreferredFocusedView(IUIFocusEnvironment)

If not null, indicates the child UIView that should receive focus by default.

GetSoundIdentifier(IUIFocusEnvironment, UIFocusUpdateContext)
DidHintFocusMovement(IUIFocusItem, UIFocusMovementHint)

Called when a focus change may soon happen.

GetFocusEffect(IUIFocusItem)
GetFocusGroupPriority(IUIFocusItem)
GetFocusItemDeferralMode(IUIFocusItem)
GetIsTransparentFocusItem(IUIFocusItem)
CanPaste(IUIPasteConfigurationSupporting, NSItemProvider[])

Returns true if the responder can paste from the specified item providers.

Paste(IUIPasteConfigurationSupporting, NSItemProvider[])

Performs the paste.

GetFrame(IUIPopoverPresentationControllerSourceItem, UIView)
AlignCenter(IUIResponderStandardEditActions, NSObject)
AlignJustified(IUIResponderStandardEditActions, NSObject)
AlignLeft(IUIResponderStandardEditActions, NSObject)
AlignRight(IUIResponderStandardEditActions, NSObject)
Copy(IUIResponderStandardEditActions, NSObject)
Cut(IUIResponderStandardEditActions, NSObject)
DecreaseSize(IUIResponderStandardEditActions, NSObject)
Delete(IUIResponderStandardEditActions, NSObject)
Duplicate(IUIResponderStandardEditActions, NSObject)
Export(IUIResponderStandardEditActions, NSObject)
Find(IUIResponderStandardEditActions, NSObject)
FindAndReplace(IUIResponderStandardEditActions, NSObject)
FindNext(IUIResponderStandardEditActions, NSObject)
FindPrevious(IUIResponderStandardEditActions, NSObject)
IncreaseSize(IUIResponderStandardEditActions, NSObject)
MakeTextWritingDirectionLeftToRight(IUIResponderStandardEditActions, NSObject)
MakeTextWritingDirectionRightToLeft(IUIResponderStandardEditActions, NSObject)
Move(IUIResponderStandardEditActions, NSObject)
NewFromPasteboard(IUIResponderStandardEditActions, NSObject)
Paste(IUIResponderStandardEditActions, NSObject)
PasteAndGo(IUIResponderStandardEditActions, NSObject)
PasteAndMatchStyle(IUIResponderStandardEditActions, NSObject)
PasteAndSearch(IUIResponderStandardEditActions, NSObject)
PerformClose(IUIResponderStandardEditActions, NSObject)
Print(IUIResponderStandardEditActions, NSObject)
Rename(IUIResponderStandardEditActions, NSObject)
Select(IUIResponderStandardEditActions, NSObject)
SelectAll(IUIResponderStandardEditActions, NSObject)
ShowWritingTools(IUIResponderStandardEditActions, NSObject)
ToggleBoldface(IUIResponderStandardEditActions, NSObject)
ToggleInspector(IUIResponderStandardEditActions, NSObject)
ToggleItalics(IUIResponderStandardEditActions, NSObject)
ToggleSidebar(IUIResponderStandardEditActions, NSObject)
ToggleUnderline(IUIResponderStandardEditActions, NSObject)
UpdateTextAttributes(IUIResponderStandardEditActions, UITextAttributesConversionHandler)
UseSelectionForFind(IUIResponderStandardEditActions, NSObject)
RegisterForTraitChanges(IUITraitChangeObservable, Class[], NSObject, Selector)
RegisterForTraitChanges(IUITraitChangeObservable, Class[], Selector)
RegisterForTraitChanges(IUITraitChangeObservable, Class[], Action<IUITraitEnvironment,UITraitCollection>)
RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], NSObject, Selector)
RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], Selector)
RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], Action<IUITraitEnvironment,UITraitCollection>)
EndEditing(UIView, Boolean)

Applies to