Share via


UITextField Class

Definition

[Foundation.Register("UITextField", true)]
public class UITextField : UIKit.UIControl, IDisposable, UIKit.IUIContentSizeCategoryAdjusting, UIKit.IUILetterformAwareAdjusting, UIKit.IUITextDraggable, UIKit.IUITextDroppable
[Foundation.Register("UITextField", true)]
public class UITextField : UIKit.UIControl, IDisposable, UIKit.IUIContentSizeCategoryAdjusting, UIKit.IUILetterformAwareAdjusting, UIKit.IUITextInput
[<Foundation.Register("UITextField", true)>]
type UITextField = class
    inherit UIControl
    interface IUITextInputTraits
    interface INativeObject
    interface IDisposable
    interface IUIContentSizeCategoryAdjusting
    interface IUIKeyInput
    interface IUILetterformAwareAdjusting
    interface IUIPasteConfigurationSupporting
    interface IUITextDraggable
    interface IUITextInput
    interface IUITextDroppable
    interface IUITextPasteConfigurationSupporting
[<Foundation.Register("UITextField", true)>]
type UITextField = class
    inherit UIControl
    interface IUITextInputTraits
    interface INativeObject
    interface IDisposable
    interface IUIContentSizeCategoryAdjusting
    interface IUIKeyInput
    interface IUILetterformAwareAdjusting
    interface IUITextInput
Inheritance
Derived
Attributes
Implements

Constructors

Name Description
UITextField()

Creates a new UITextField with default values.

UITextField(CGRect)
UITextField(NativeHandle)

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

UITextField(NSCoder)

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

UITextField(NSObjectFlag)

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

Properties

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

Uniquely identifies this for the purposes of accessibility.

(Inherited from UIView)
AccessibilityIgnoresInvertColors (Inherited from UIView)
AccessibilityLabel (Inherited from UIView)
AccessibilityLanguage (Inherited from UIView)
AccessibilityNavigationStyle (Inherited from UIView)
AccessibilityPath (Inherited from UIView)
AccessibilityRespondsToUserInteraction (Inherited from UIView)
AccessibilityTextualContext (Inherited from UIView)
AccessibilityTraits (Inherited from UIView)
AccessibilityUserInputLabels (Inherited from UIView)
AccessibilityValue (Inherited from UIView)
AccessibilityViewIsModal (Inherited from UIView)
ActivityItemsConfiguration (Inherited from UIResponder)
AdjustsFontForContentSizeCategory
AdjustsFontSizeToFitWidth
AlignmentRectInsets (Inherited from UIView)
AllControlEvents (Inherited from UIControl)
AllowedWritingToolsResultOptions
AllowsEditingTextAttributes
AllowsNumberPadPopover
AllTargets (Inherited from UIControl)
Alpha (Inherited from UIView)
AnchorPoint (Inherited from UIView)
Appearance

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

AppliedContentSizeCategoryLimitsDescription (Inherited from UIView)
AttributedPlaceholder
AttributedText
AutocapitalizationType

The UITextAutocapitalizationType used by the IUITextInput.

AutocorrectionType

The UITextAutocorrectionType used by the IUITextInput.

AutoresizingMask (Inherited from UIView)
AutosizesSubviews (Inherited from UIView)
Background
BackgroundColor

The color used for the background.

(Inherited from UIView)
BeginningOfDocument

The position of text indicating the beginning of a document.

BorderStyle
BottomAnchor (Inherited from UIView)
Bounds (Inherited from UIView)
CanBecomeFirstResponder (Inherited from UIResponder)
CanBecomeFocused (Inherited from UIView)
CanResignFirstResponder (Inherited from UIResponder)
Center (Inherited from UIView)
CenterXAnchor (Inherited from UIView)
CenterYAnchor (Inherited from UIView)
Class (Inherited from NSObject)
ClassHandle

The Objective-C class handle for this class.

ClearButtonMode
ClearsContextBeforeDrawing (Inherited from UIView)
ClearsOnBeginEditing
ClearsOnInsertion
ClipsToBounds (Inherited from UIView)
CollisionBoundingPath

Returns the closed path that is used for collision detection.

(Inherited from UIView)
CollisionBoundsType

Returns a value that tells how collision bounds are specified.

(Inherited from UIView)
Constraints (Inherited from UIView)
ContentMode (Inherited from UIView)
ContentScaleFactor (Inherited from UIView)
ContentStretch (Inherited from UIView)
ContextMenuInteraction (Inherited from UIControl)
ContextMenuInteractionEnabled (Inherited from UIControl)
ConversationContext
CoordinateSpace

Gets the coordinate space implemenation.

(Inherited from UIView)
CornerConfiguration (Inherited from UIView)
CurrentInputModeDidChangeNotification

Notification constant for CurrentInputModeDidChange

DebugDescription (Inherited from NSObject)
Delegate

An instance of the UIKit.IUITextFieldDelegate model class which acts as the class delegate.

Description (Inherited from NSObject)
DidEndEditingReasonKey
DirectionalLayoutMargins (Inherited from UIView)
DisabledBackground
Editable
EditingInteractionConfiguration (Inherited from UIResponder)
EffectiveContentHorizontalAlignment (Inherited from UIControl)
EffectiveUserInterfaceLayoutDirection (Inherited from UIView)
Enabled

Whether this UIControl is enabled.

(Inherited from UIControl)
EnablesReturnKeyAutomatically

Whether the return key is automatically enabled.

EndOfDocument

The position of text indicating the beginning of a document.

ExclusiveTouch

Restricts the event delivery to this view.

(Inherited from UIView)
FirstBaselineAnchor (Inherited from UIView)
Focused

Whether the UIView is the focused view.

(Inherited from UIView)
FocusEffect (Inherited from UIView)
FocusGroupIdentifier (Inherited from UIView)
FocusGroupPriority (Inherited from UIView)
FocusItemContainer

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

(Inherited from UIView)
FocusItemDeferralMode (Inherited from UIView)
Font
Frame (Inherited from UIView)
GestureRecognizers (Inherited from UIView)
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from NSObject)
HasAmbiguousLayout (Inherited from UIView)
HasText

Gets a value that tells whether the key input has text in it.

HeightAnchor (Inherited from UIView)
Hidden

Specifies whether the UIView displays or not.

(Inherited from UIView)
Highlighted

Whether this UIControl is highlighted.

(Inherited from UIControl)
HorizontalAlignment (Inherited from UIControl)
HoverStyle (Inherited from UIView)
InlinePredictionType
InputAccessoryView
InputAccessoryViewController (Inherited from UIResponder)
InputAssistantItem (Inherited from UIResponder)
InputDelegate

The input delegate object for this UITextField.

InputView
InputViewController (Inherited from UIResponder)
InsetsLayoutMarginsFromSafeArea (Inherited from UIView)
Interactions (Inherited from UIView)
InteractionState
IntrinsicContentSize (Inherited from UIView)
IsAccessibilityElement (Inherited from UIView)
IsDirectBinding (Inherited from NSObject)
IsEditing

A value that indicates if the user is editing the text in the view. Read-only.

IsFirstResponder (Inherited from UIResponder)
IsProxy (Inherited from NSObject)
IsTransparentFocusItem (Inherited from UIView)
KeyboardAppearance

The UIKeyboardAppearance used by the IUITextInput

KeyboardLayoutGuide (Inherited from UIView)
KeyboardType

The UIKeyboardType used by the IUITextInput.

KeyCommands (Inherited from UIResponder)
LargeContentImage (Inherited from UIView)
LargeContentImageInsets (Inherited from UIView)
LargeContentTitle (Inherited from UIView)
LastBaselineAnchor (Inherited from UIView)
Layer (Inherited from UIView)
LayoutGuides (Inherited from UIView)
LayoutMargins (Inherited from UIView)
LayoutMarginsGuide (Inherited from UIView)
LeadingAnchor (Inherited from UIView)
LeftAnchor (Inherited from UIView)
LeftView
LeftViewMode
MarkedTextRange

The currently marked range of text in a given document.

MarkedTextStyle

Attribute dictionary describing how text should be drawn.

MaskView (Inherited from UIView)
MathExpressionCompletionType
MaximumContentSizeCategory (Inherited from UIView)
MinimumContentSizeCategory (Inherited from UIView)
MinimumFontSize
MotionEffects (Inherited from UIView)
MultipleTouchEnabled

Controls whether the UIView can handle multitouch events.

(Inherited from UIView)
NextResponder (Inherited from UIResponder)
Opaque

Determines whether the view is opaque or not.

(Inherited from UIView)
OverrideUserInterfaceStyle (Inherited from UIView)
ParentFocusEnvironment

Gets the parent focus environment.

(Inherited from UIView)
PasswordRules

The password entry rules.

PasteConfiguration

The UIPasteConfiguration supported by this object.

PasteDelegate

Gets the delegate for handling text pasting and text drops.

Placeholder
PreferredFocusedView

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

(Inherited from UIView)
PreferredFocusEnvironments

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

(Inherited from UIView)
PreservesSuperviewLayoutMargins (Inherited from UIView)
ReadableContentGuide (Inherited from UIView)
RestorationIdentifier (Inherited from UIView)
RetainCount (Inherited from NSObject)
ReturnKeyType

The form of the return key for the IUITextInput.

RightAnchor (Inherited from UIView)
RightView
RightViewMode
SafeAreaInsets (Inherited from UIView)
SafeAreaLayoutGuide (Inherited from UIView)
ScalesLargeContentImage (Inherited from UIView)
SecureTextEntry

Whether the entered text should be hidden.

Selected

Whether this UIControl is selected.

(Inherited from UIControl)
SelectedTextRange

The range of a document's selected text.

SelectionAffinity

A value that controls whether the cursor is displayed at the start of the last line or end of the second-to-last line of a multiline selection.

Self (Inherited from NSObject)
SemanticContentAttribute (Inherited from UIView)
ShouldBeginEditing

Raised when the text field wants to know if editing should begin.

ShouldChangeCharacters

Raised when the text field wants to know if the text in the text field should be changed.

ShouldChangeCharactersInRanges

Raised when the text field wants to know if the text in the text field should be changed for multiple ranges.

ShouldClear

Raised when the text field wants to know if the text in the text field should be cleared.

ShouldEndEditing

Raised when the text field wants to know if editing should end.

ShouldGroupAccessibilityChildren (Inherited from UIView)
ShouldReturn

Raised when the 'Return' key was pressed, and the text field wants to know whether it should process this key press or not using the default behavior.

ShowsLargeContentViewer (Inherited from UIView)
ShowsMenuAsPrimaryAction (Inherited from UIControl)
SizingRule
SmartDashesType

The smart dashes style.

SmartInsertDeleteType

The smart insert style.

SmartQuotesType

The smart quotes style.

SpellCheckingType

Gets or sets a value that tells whether spell-checking is on, off, or if spell-checking will be enabled only when auto-complete is enabled (default).

State (Inherited from UIControl)
Subviews (Inherited from UIView)
Superclass (Inherited from NSObject)
SuperHandle

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

(Inherited from NSObject)
Superview (Inherited from UIView)
SupportsAdaptiveImageGlyph
SymbolAnimationEnabled (Inherited from UIControl)
Tag (Inherited from UIView)
Text
TextAlignment
TextBackgroundColorKey

Developers should not use this deprecated property. Developers should use 'NSAttributedString.BackgroundColorAttributeName'.

TextColor
TextColorKey

The property holds the key that should be used to retrieve the value of the text color from a NSDictionary.

TextContentType

The semantic of the expected input, which allows the system to, for example, provide custom keyboards.

TextDidBeginEditingNotification

Notification constant for TextDidBeginEditing

TextDidEndEditingNotification

Notification constant for TextDidEndEditing

TextDragActive

Gets a Boolean value that tells whether a drag session is active for the text view.

TextDragDelegate

Gets or sets a delegate for managing drag source behavior.

TextDragInteraction

Gets the drag interaction on the text view.

TextDragOptions

Gets a value that controls how formatting is displayed in dragged text.

TextDropActive

Gets a Boolean value that tells whether there is an active text drop session on the view.

TextDropDelegate

Gets or sets a delegate for managing text drop behavior.

TextDropInteraction

Gets the drop interaction on the text view.

TextFieldTextDidChangeNotification

Notification constant for TextFieldTextDidChange

TextFontKey

The property holds the key that should be used to retrieve the value of the font for the text from a NSDictionary.

TextInputContextIdentifier (Inherited from UIResponder)
TextInputMode (Inherited from UIResponder)
TextInputView

Returns the input view that provides the coordinate system for geometric operations within the text input.

TintAdjustmentMode (Inherited from UIView)
TintColor

The color used for tinting.

(Inherited from UIView)
Tokenizer

This property provides information on the tokenizer that would be used to break up the text into units such as characters, words, lines, and paragraphs.

ToolTip (Inherited from UIControl)
ToolTipInteraction (Inherited from UIControl)
TopAnchor (Inherited from UIView)
TouchBar (Inherited from UIResponder)
TouchInside

Whether a touch is inside this UIControl. Read-only.

(Inherited from UIControl)
Tracking

Whether this UIControl is tracking touches related to an event. Read-only.

(Inherited from UIControl)
TrailingAnchor (Inherited from UIView)
TraitCollection

Gets the trait collection that describes the environment.

(Inherited from UIView)
TraitOverrides (Inherited from UIView)
Transform (Inherited from UIView)
Transform3D (Inherited from UIView)
TranslatesAutoresizingMaskIntoConstraints (Inherited from UIView)
TypingAttributes
UndoManager (Inherited from UIResponder)
UserActivity (Inherited from UIResponder)
UserInteractionEnabled

Determines whether input events are processed by this view.

(Inherited from UIView)
VerticalAlignment (Inherited from UIControl)
ViewForBaselineLayout (Inherited from UIView)
ViewForFirstBaselineLayout (Inherited from UIView)
ViewForLastBaselineLayout (Inherited from UIView)
ViewPrintFormatter (Inherited from UIView)
WeakDefaultTextAttributes
WeakDelegate
WeakInputDelegate

Indicates a weak input delegate.

WeakTokenizer

Indicates a weak tokenizer.

WidthAnchor (Inherited from UIView)
Window (Inherited from UIView)
WritingToolsBehavior
Zone (Inherited from NSObject)

Methods

Name Description
AccessibilityActivate() (Inherited from UIView)
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) (Inherited from UIView)
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.

(Inherited from UIView)
AddAction(UIAction, UIControlEvent) (Inherited from UIControl)
AddConstraint(NSLayoutConstraint) (Inherited from UIView)
AddConstraints(NSLayoutConstraint[]) (Inherited from UIView)
AddGestureRecognizer(UIGestureRecognizer) (Inherited from UIView)
AddInteraction(IUIInteraction) (Inherited from UIView)
AddLayoutGuide(UILayoutGuide) (Inherited from UIView)
AddMotionEffect(UIMotionEffect) (Inherited from UIView)
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) (Inherited from UIView)
AddSubviews(UIView[])

Convenience routine to add various views to a UIView.

(Inherited from UIView)
AddTarget(EventHandler, UIControlEvent)

Adds an event handler for the specified set of events.

(Inherited from UIControl)
AddTarget(NSObject, Selector, UIControlEvent) (Inherited from UIControl)
AlignCenter(NSObject) (Inherited from UIResponder)
AlignJustified(NSObject) (Inherited from UIResponder)
AlignLeft(NSObject) (Inherited from UIResponder)
AlignmentRectForFrame(CGRect) (Inherited from UIView)
AlignRight(NSObject) (Inherited from UIResponder)
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)
BeginFloatingCursor(CGPoint)

Begins displaying the floating cursor at the specified point.

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

Invokes asynchrously the specified code on the main UI thread.

(Inherited from NSObject)
BeginTracking(UITouch, UIEvent) (Inherited from UIControl)
BorderRect(CGRect)
BringSubviewToFront(UIView) (Inherited from UIView)
BuildMenu(IUIMenuBuilder) (Inherited from UIResponder)
CancelTracking(UIEvent) (Inherited from UIControl)
CanPaste(NSItemProvider[])

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

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

Performs a screen-capture of the UIView.

(Inherited from UIView)
CaptureTextFromCamera(NSObject) (Inherited from UIResponder)
ClearButtonRect(CGRect)
ComparePosition(UITextPosition, UITextPosition)

Gets a comparison of one position to another.

ConformsToProtocol(NativeHandle) (Inherited from NSObject)
ContentCompressionResistancePriority(UILayoutConstraintAxis) (Inherited from UIView)
ContentHuggingPriority(UILayoutConstraintAxis) (Inherited from UIView)
ContinueTracking(UITouch, UIEvent) (Inherited from UIControl)
ConvertPointFromCoordinateSpace(CGPoint, IUICoordinateSpace) (Inherited from UIView)
ConvertPointFromView(CGPoint, UIView) (Inherited from UIView)
ConvertPointToCoordinateSpace(CGPoint, IUICoordinateSpace) (Inherited from UIView)
ConvertPointToView(CGPoint, UIView) (Inherited from UIView)
ConvertRectFromCoordinateSpace(CGRect, IUICoordinateSpace) (Inherited from UIView)
ConvertRectFromView(CGRect, UIView) (Inherited from UIView)
ConvertRectToCoordinateSpace(CGRect, IUICoordinateSpace) (Inherited from UIView)
ConvertRectToView(CGRect, UIView) (Inherited from 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) (Inherited from UIView)
DecreaseSize(NSObject) (Inherited from UIResponder)
Delete(NSObject) (Inherited from UIResponder)
DeleteBackward()
DictationRecognitionFailed()

The recognition of dictation failed.

DictationRecordingDidEnd()

The recording of dictation ended.

DidChange(NSKeyValueChange, NSIndexSet, NSString) (Inherited from NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
DidChangeValue(String) (Inherited from NSObject)
DidDismissWritingTools()
DidHintFocusMovement(UIFocusMovementHint)

Called when a focus change may soon happen.

(Inherited from UIView)
DidUpdateFocus(UIFocusUpdateContext, UIFocusAnimationCoordinator)

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

(Inherited from UIView)
DisplayLayer(CALayer) (Inherited from UIView)
Dispose()

Releases the resources used by the NSObject object.

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

Encodes the state of the object using the provided encoder.

(Inherited from UIView)
EndFloatingCursor()

Ends display of the floating cursor.

EndTracking(UITouch, UIEvent) (Inherited from UIControl)
EnumerateEventHandlers(UIControlEnumerateEventsIteratorHandler) (Inherited from UIControl)
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.

(Inherited from UIView)
ExerciseAmbiguityInLayout() (Inherited from UIView)
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) (Inherited from UIView)
GestureRecognizerShouldBegin(UIGestureRecognizer) (Inherited from UIView)
GetActions(NSObject, UIControlEvent) (Inherited from UIControl)
GetAppearance(UITraitCollection, Type[])

Obtains the appearance proxy UITextField.UITextFieldAppearance for UITextField.

GetAppearance(UITraitCollection)

Obtains the appearance proxy UITextField.UITextFieldAppearance for UITextField.

GetAppearance<T>()

Obtains the appearance proxy UITextField.UITextFieldAppearance for the subclass of UITextField.

GetAppearance<T>(UITraitCollection, Type[])

Obtains the appearance proxy UITextField.UITextFieldAppearance for the subclass of UITextField.

GetAppearance<T>(UITraitCollection)

Obtains the appearance proxy UITextField.UITextFieldAppearance for the subclass of UITextField.

GetAttributedText(UITextRange)
GetBaseWritingDirection(UITextPosition, UITextStorageDirection)

Gets the base writing direction for a text position.

GetCaretRectForPosition(UITextPosition)

A rectangle used for drawing a caret at a given insertion point.

GetCaretTransform(UITextPosition)
GetCharacterOffsetOfPosition(UITextPosition, UITextRange)

Calculates and returns the offset into range of the character that is in position in the document.

GetCharacterRange(UITextPosition, UITextLayoutDirection)

Gets a character range within the limits of a defined direction.

GetCharacterRangeAtPoint(CGPoint)

Gets the character or a range of characters in a document that exists at a given point.

GetClosestPositionToPoint(CGPoint, UITextRange)
GetClosestPositionToPoint(CGPoint)

Gets the closest position in a document that exists to a given point.

GetConfigurationForMenu(UIContextMenuInteraction, CGPoint) (Inherited from UIControl)
GetConstraintsAffectingLayout(UILayoutConstraintAxis) (Inherited from UIView)
GetDictionaryOfValuesFromKeys(NSString[]) (Inherited from NSObject)
GetDirectionalEdgeInsets(UIViewLayoutRegion) (Inherited from UIView)
GetDismissalPreview(UIContextMenuInteraction, UIContextMenuConfiguration, INSCopying) (Inherited from UIControl)
GetEdgeInsets(UIViewLayoutRegion) (Inherited from UIView)
GetEditMenu(UITextRange, UIMenuElement[])
GetEnumerator()

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

(Inherited from UIView)
GetFirstRectForRange(UITextRange)

Gets the first rectangle enclosing a specified range of document text.

GetFocusItems(CGRect)

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

(Inherited from UIView)
GetFrame(UIView) (Inherited from UIView)
GetFrameForDictationResultPlaceholder(NSObject)

Returns the rectangle in which to display the animated dictation result placeholder.

GetHashCode()

Generates a hash code for the current instance.

(Inherited from NSObject)
GetHighlightPreview(UIContextMenuInteraction, UIContextMenuConfiguration, INSCopying) (Inherited from UIControl)
GetLayoutGuide(UIViewLayoutRegion) (Inherited from UIView)
GetMenuAttachmentPoint(UIContextMenuConfiguration) (Inherited from UIControl)
GetMethodForSelector(Selector) (Inherited from NSObject)
GetNativeHash() (Inherited from NSObject)
GetOffsetFromPosition(UITextPosition, UITextPosition)

Gets the number of visible characters between two defined text positions.

GetPosition(UITextPosition, IntPtr)

Gets the character offset from the initial position.

GetPosition(UITextPosition, UITextLayoutDirection, IntPtr)

Gets the character offset from an initial position.

GetPosition(UITextRange, IntPtr)

Calculates and returns the absolute position in the document that is atCharacterOffset characters into withinRange.

GetPositionWithinRange(UITextRange, UITextLayoutDirection)

Gets a position within a specified range.

GetPreviewForDismissingMenu(UIContextMenuInteraction, UIContextMenuConfiguration) (Inherited from UIControl)
GetPreviewForHighlightingMenu(UIContextMenuInteraction, UIContextMenuConfiguration) (Inherited from UIControl)
GetProvider(UIDeferredMenuElement) (Inherited from UIResponder)
GetSelectionRects(UITextRange)

Gets an array of selection rects that corresponds to a text range.

GetSoundIdentifier(UIFocusUpdateContext) (Inherited from UIView)
GetTargetForAction(Selector, NSObject) (Inherited from UIResponder)
GetTextRange(UITextPosition, UITextPosition)

Gets a specified text range.

GetTextStyling(UITextPosition, UITextStorageDirection)

Returns a dictionary of style properties for text at the atPosition position.

HitTest(CGPoint, UIEvent) (Inherited from UIView)
IncreaseSize(NSObject) (Inherited from UIResponder)
Init() (Inherited from NSObject)
InitializeHandle(NativeHandle, String) (Inherited from NSObject)
InitializeHandle(NativeHandle) (Inherited from NSObject)
InsertAdaptiveImageGlyph(NSAdaptiveImageGlyph, UITextRange)
InsertAttributedText(NSAttributedString)
InsertDictationResult(NSArray)

Inserts a dictation result at the current position.

InsertDictationResultPlaceholder()

Returns the placeholder object to use before dictation results are finished being generated.

InsertInputSuggestion(UIInputSuggestion)
InsertSubview(UIView, IntPtr)

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

(Inherited from UIView)
InsertSubviewAbove(UIView, UIView) (Inherited from UIView)
InsertSubviewBelow(UIView, UIView) (Inherited from UIView)
InsertText(String, String[], UITextAlternativeStyle)
InsertText(String)

Inserts text at the cursor.

InsertTextPlaceholder(CGSize)
InvalidateIntrinsicContentSize() (Inherited from UIView)
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) (Inherited from UIView)
IsEqual(NSObject) (Inherited from NSObject)
IsKindOfClass(Class) (Inherited from NSObject)
IsMemberOfClass(Class) (Inherited from NSObject)
LayoutIfNeeded() (Inherited from UIView)
LayoutMarginsDidChange() (Inherited from UIView)
LayoutSublayersOfLayer(CALayer) (Inherited from UIView)
LayoutSubviews() (Inherited from UIView)
LeftViewRect(CGRect)
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)
MotionBegan(UIEventSubtype, UIEvent) (Inherited from UIResponder)
MotionCancelled(UIEventSubtype, UIEvent) (Inherited from UIResponder)
MotionEnded(UIEventSubtype, UIEvent) (Inherited from UIResponder)
Move(NSObject) (Inherited from UIResponder)
MovedToSuperview() (Inherited from UIView)
MovedToWindow() (Inherited from UIView)
MutableCopy() (Inherited from NSObject)
NeedsUpdateConstraints() (Inherited from UIView)
NewFromPasteboard(NSObject) (Inherited from UIResponder)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr) (Inherited from NSObject)
Paste(NSItemProvider[])

Performs the paste.

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)
PerformPrimaryAction() (Inherited from UIControl)
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)
PlaceholderRect(CGRect)
PointInside(CGPoint, UIEvent) (Inherited from UIView)
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.

(Inherited from UIView)
RegisterForTraitChanges(Class[], Action<IUITraitEnvironment,UITraitCollection>) (Inherited from UIView)
RegisterForTraitChanges(Class[], NSObject, Selector) (Inherited from UIView)
RegisterForTraitChanges(Class[], Selector) (Inherited from UIView)
RegisterForTraitChanges(IUITraitDefinition[], Action<IUITraitEnvironment,UITraitCollection>)
Obsolete.
(Inherited from UIView)
RegisterForTraitChanges(IUITraitDefinition[], NSObject, Selector)
Obsolete.
(Inherited from UIView)
RegisterForTraitChanges(IUITraitDefinition[], Selector)
Obsolete.
(Inherited from UIView)
RegisterForTraitChanges(Type[], Action<IUITraitEnvironment,UITraitCollection>)

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

(Inherited from UIView)
RegisterForTraitChanges(Type[], NSObject, Selector)

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

(Inherited from UIView)
RegisterForTraitChanges(Type[], Selector)

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

(Inherited from UIView)
RegisterForTraitChanges<T>(Action<IUITraitEnvironment,UITraitCollection>)

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

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

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

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

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

(Inherited from UIView)
RegisterForTraitChanges<T1,T2>(Action<IUITraitEnvironment,UITraitCollection>)

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

(Inherited from UIView)
ReloadInputViews() (Inherited from UIResponder)
RemoteControlReceived(UIEvent) (Inherited from UIResponder)
RemoveAction(String, UIControlEvent) (Inherited from UIControl)
RemoveAction(UIAction, UIControlEvent) (Inherited from UIControl)
RemoveConstraint(NSLayoutConstraint) (Inherited from UIView)
RemoveConstraints(NSLayoutConstraint[]) (Inherited from UIView)
RemoveDictationResultPlaceholder(NSObject, Boolean)

The placeholder is no longer needed.

RemoveFromSuperview() (Inherited from UIView)
RemoveGestureRecognizer(UIGestureRecognizer) (Inherited from UIView)
RemoveInteraction(IUIInteraction) (Inherited from UIView)
RemoveLayoutGuide(UILayoutGuide) (Inherited from UIView)
RemoveMotionEffect(UIMotionEffect) (Inherited from UIView)
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)
RemoveTarget(EventHandler, UIControlEvent)

Removes a previously installed event handler for the specified event list.

(Inherited from UIControl)
RemoveTarget(NSObject, Selector, UIControlEvent) (Inherited from UIControl)
RemoveTextPlaceholder(UITextPlaceholder)
Rename(NSObject) (Inherited from UIResponder)
ReplaceRange(UITextRange, NSAttributedString)
ReplaceText(UITextRange, String)

Replaces document text within a specified range.

ResignFirstResponder() (Inherited from UIResponder)
ResizableSnapshotView(CGRect, Boolean, UIEdgeInsets) (Inherited from UIView)
RespondsToSelector(Selector) (Inherited from NSObject)
RestoreUserActivityState(NSUserActivity) (Inherited from UIResponder)
RightViewRect(CGRect)
SafeAreaInsetsDidChange() (Inherited from UIView)
Select(NSObject) (Inherited from UIResponder)
SelectAll(NSObject) (Inherited from UIResponder)
SendAction(Selector, NSObject, UIEvent) (Inherited from UIControl)
SendAction(UIAction) (Inherited from UIControl)
SendActionForControlEvents(UIControlEvent) (Inherited from UIControl)
SendSubviewToBack(UIView) (Inherited from UIView)
SetAttributedMarkedText(NSAttributedString, NSRange)
SetBaseWritingDirectionforRange(NSWritingDirection, UITextRange)

Sets a base directon for writing in the specified range of text.

SetContentCompressionResistancePriority(Single, UILayoutConstraintAxis) (Inherited from UIView)
SetContentHuggingPriority(Single, UILayoutConstraintAxis) (Inherited from UIView)
SetEffectiveRadius(UIRectCorner) (Inherited from UIView)
SetMarkedText(String, NSRange)

Sets the marked text and marks it as the current selection.

SetNeedsDisplay() (Inherited from UIView)
SetNeedsDisplayInRect(CGRect) (Inherited from UIView)
SetNeedsFocusUpdate()

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

(Inherited from UIView)
SetNeedsLayout() (Inherited from UIView)
SetNeedsUpdateConstraints() (Inherited from UIView)
SetNeedsUpdateProperties() (Inherited from UIView)
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)
ShouldChangeTextInRange(UITextRange, String)

Asks whether the text in inRange should be replaced with replacementText.

ShouldUpdateFocus(UIFocusUpdateContext)

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

(Inherited from UIView)
ShowWritingTools(NSObject) (Inherited from UIResponder)
SizeThatFits(CGSize) (Inherited from UIView)
SizeToFit() (Inherited from UIView)
SnapshotView(Boolean) (Inherited from UIView)
SubviewAdded(UIView) (Inherited from UIView)
SystemLayoutSizeFittingSize(CGSize, Single, Single) (Inherited from UIView)
SystemLayoutSizeFittingSize(CGSize) (Inherited from UIView)
TextInRange(UITextRange)

Gets all the text that is specified within a certain range.

TextRect(CGRect)
TintColorDidChange() (Inherited from UIView)
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.

(Inherited from UIView)
UnmarkText()

Unmarks all currently marked text within a document

UnregisterForTraitChanges(IUITraitChangeRegistration) (Inherited from UIView)
UpdateConstraints() (Inherited from UIView)
UpdateConstraintsIfNeeded() (Inherited from UIView)
UpdateFloatingCursor(CGPoint)

Moves the floating curor to the specified point.

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.

(Inherited from UIView)
UpdateProperties() (Inherited from UIView)
UpdatePropertiesIfNeeded() (Inherited from UIView)
UpdateTextAttributes(UITextAttributesConversionHandler) (Inherited from UIResponder)
UpdateTraitsIfNeeded() (Inherited from UIView)
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.

(Inherited from UIView)
WillChange(NSKeyValueChange, NSIndexSet, NSString) (Inherited from NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
WillChangeValue(String) (Inherited from NSObject)
WillDismissEditMenu(IUIEditMenuInteractionAnimating)
WillDisplayMenu(UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionAnimating) (Inherited from UIControl)
WillDrawLayer(CALayer)

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

(Inherited from UIView)
WillEnd(UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionAnimating) (Inherited from UIControl)
WillMoveToSuperview(UIView) (Inherited from UIView)
WillMoveToWindow(UIWindow) (Inherited from UIView)
WillPerformPreviewAction(UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionCommitAnimating) (Inherited from UIControl)
WillPresentEditMenu(IUIEditMenuInteractionAnimating)
WillPresentWritingTools()
WillRemoveSubview(UIView) (Inherited from UIView)

Events

Name Description
AllEditingEvents

Raised on any editing events produced.

(Inherited from UIControl)
AllEvents

Raised for any event produced.

(Inherited from UIControl)
AllTouchEvents

Raised for any touch event produced.

(Inherited from UIControl)
DidChangeSelection

Raised when the text selection changed.

EditingChanged

The component changed.

(Inherited from UIControl)
EditingDidBegin

Raised when editing has started.

(Inherited from UIControl)
EditingDidEnd

Raised when editing ended.

(Inherited from UIControl)
EditingDidEndOnExit

Raised on didEndOnexit

(Inherited from UIControl)
Ended

Raised when editing has ended.

EndedWithReason

Event that is raised when editing ends.

PrimaryActionTriggered

Event associated with the most-likely behavior of the UIControl.

(Inherited from UIControl)
Started

Raised when editing has started.

TouchCancel

The touch event has been canceled.

(Inherited from UIControl)
TouchDown

Raised when the user touches the control.

(Inherited from UIControl)
TouchDownRepeat

Raised when the user double taps the control.

(Inherited from UIControl)
TouchDragEnter

Raised on TouchDragEnter events.

(Inherited from UIControl)
TouchDragExit

Raised on TouchDragExit events.

(Inherited from UIControl)
TouchDragInside

Raised oN TouchDragInside events.

(Inherited from UIControl)
TouchDragOutside

Raised on TouchDragOutside events.

(Inherited from UIControl)
TouchUpInside

Raised on TouchUpInside events.

(Inherited from UIControl)
TouchUpOutside

Raised on TouchUpOutside events.

(Inherited from UIControl)
ValueChanged

The value has changed.

(Inherited from UIControl)

Extension Methods

Name Description
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)
GetDismissalPreview(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration, INSCopying)
GetHighlightPreview(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration, INSCopying)
GetPreviewForDismissingMenu(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration)
GetPreviewForHighlightingMenu(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration)
WillDisplayMenu(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionAnimating)
WillEnd(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionAnimating)
WillPerformPreviewAction(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionCommitAnimating)
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)
BeginFloatingCursor(IUITextInput, CGPoint)

Begins displaying the floating cursor at the specified point.

DictationRecognitionFailed(IUITextInput)

The recognition of dictation failed.

DictationRecordingDidEnd(IUITextInput)

The recording of dictation ended.

DidDismissWritingTools(IUITextInput)
EndFloatingCursor(IUITextInput)

Ends display of the floating cursor.

GetAttributedText(IUITextInput, UITextRange)
GetCaretTransform(IUITextInput, UITextPosition)
GetCharacterOffsetOfPosition(IUITextInput, UITextPosition, UITextRange)

Calculates and returns the offset into range of the character that is in position in the document.

GetEditable(IUITextInput)
GetEditMenu(IUITextInput, UITextRange, UIMenuElement[])
GetFrameForDictationResultPlaceholder(IUITextInput, NSObject)

Returns the rectangle in which to display the animated dictation result placeholder.

GetPosition(IUITextInput, UITextRange, IntPtr)

Calculates and returns the absolute position in the document that is atCharacterOffset characters into withinRange.

GetSelectionAffinity(IUITextInput)

A value that controls whether the cursor is displayed at the start of the last line or end of the second-to-last line of a multiline selection.

GetSupportsAdaptiveImageGlyph(IUITextInput)
GetTextInputView(IUITextInput)

Returns the input view that provides the coordinate system for geometric operations within the text input.

GetTextStyling(IUITextInput, UITextPosition, UITextStorageDirection)

Returns a dictionary of style properties for text at the atPosition position.

InsertAdaptiveImageGlyph(IUITextInput, NSAdaptiveImageGlyph, UITextRange)
InsertAttributedText(IUITextInput, NSAttributedString)
InsertDictationResult(IUITextInput, NSArray)

Inserts a dictation result at the current position.

InsertDictationResultPlaceholder(IUITextInput)

Returns the placeholder object to use before dictation results are finished being generated.

InsertInputSuggestion(IUITextInput, UIInputSuggestion)
InsertText(IUITextInput, String, String[], UITextAlternativeStyle)
InsertTextPlaceholder(IUITextInput, CGSize)
RemoveDictationResultPlaceholder(IUITextInput, NSObject, Boolean)

The placeholder is no longer needed.

RemoveTextPlaceholder(IUITextInput, UITextPlaceholder)
ReplaceRange(IUITextInput, UITextRange, NSAttributedString)
SetAttributedMarkedText(IUITextInput, NSAttributedString, NSRange)
SetSelectionAffinity(IUITextInput, UITextStorageDirection)

A value that controls whether the cursor is displayed at the start of the last line or end of the second-to-last line of a multiline selection.

SetSupportsAdaptiveImageGlyph(IUITextInput, Boolean)
ShouldChangeTextInRange(IUITextInput, UITextRange, String)

Asks whether the text in inRange should be replaced with replacementText.

UpdateFloatingCursor(IUITextInput, CGPoint)

Moves the floating curor to the specified point.

WillDismissEditMenu(IUITextInput, IUIEditMenuInteractionAnimating)
WillPresentEditMenu(IUITextInput, IUIEditMenuInteractionAnimating)
WillPresentWritingTools(IUITextInput)
GetAllowedWritingToolsResultOptions(IUITextInputTraits)
GetAllowsNumberPadPopover(IUITextInputTraits)
GetAutocapitalizationType(IUITextInputTraits)

The UITextAutocapitalizationType used by the IUITextInput.

GetAutocorrectionType(IUITextInputTraits)

The UITextAutocorrectionType used by the IUITextInput.

GetConversationContext(IUITextInputTraits)
GetEnablesReturnKeyAutomatically(IUITextInputTraits)

Whether the return key is automatically enabled.

GetInlinePredictionType(IUITextInputTraits)
GetKeyboardAppearance(IUITextInputTraits)

The UIKeyboardAppearance used by the IUITextInput

GetKeyboardType(IUITextInputTraits)

The UIKeyboardType used by the IUITextInput.

GetMathExpressionCompletionType(IUITextInputTraits)
GetPasswordRules(IUITextInputTraits)

The password entry rules.

GetReturnKeyType(IUITextInputTraits)

The form of the return key for the IUITextInput.

GetSecureTextEntry(IUITextInputTraits)

Whether the entered text should be hidden.

GetSmartDashesType(IUITextInputTraits)

The smart dashes style.

GetSmartInsertDeleteType(IUITextInputTraits)

The smart insert style.

GetSmartQuotesType(IUITextInputTraits)

The smart quotes style.

GetSpellCheckingType(IUITextInputTraits)

Gets or sets a value that tells whether spell-checking is on, off, or if spell-checking will be enabled only when auto-complete is enabled (default).

GetTextContentType(IUITextInputTraits)

The semantic of the expected input, which allows the system to, for example, provide custom keyboards.

GetWritingToolsBehavior(IUITextInputTraits)
SetAllowedWritingToolsResultOptions(IUITextInputTraits, UIWritingToolsResultOptions)
SetAllowsNumberPadPopover(IUITextInputTraits, Boolean)
SetAutocapitalizationType(IUITextInputTraits, UITextAutocapitalizationType)

The UITextAutocapitalizationType used by the IUITextInput.

SetAutocorrectionType(IUITextInputTraits, UITextAutocorrectionType)

The UITextAutocorrectionType used by the IUITextInput.

SetConversationContext(IUITextInputTraits, UIConversationContext)
SetEnablesReturnKeyAutomatically(IUITextInputTraits, Boolean)

Whether the return key is automatically enabled.

SetInlinePredictionType(IUITextInputTraits, UITextInlinePredictionType)
SetKeyboardAppearance(IUITextInputTraits, UIKeyboardAppearance)

The UIKeyboardAppearance used by the IUITextInput

SetKeyboardType(IUITextInputTraits, UIKeyboardType)

The UIKeyboardType used by the IUITextInput.

SetMathExpressionCompletionType(IUITextInputTraits, UITextMathExpressionCompletionType)
SetPasswordRules(IUITextInputTraits, UITextInputPasswordRules)

The password entry rules.

SetReturnKeyType(IUITextInputTraits, UIReturnKeyType)

The form of the return key for the IUITextInput.

SetSecureTextEntry(IUITextInputTraits, Boolean)

Whether the entered text should be hidden.

SetSmartDashesType(IUITextInputTraits, UITextSmartDashesType)

The smart dashes style.

SetSmartInsertDeleteType(IUITextInputTraits, UITextSmartInsertDeleteType)

The smart insert style.

SetSmartQuotesType(IUITextInputTraits, UITextSmartQuotesType)

The smart quotes style.

SetSpellCheckingType(IUITextInputTraits, UITextSpellCheckingType)

Gets or sets a value that tells whether spell-checking is on, off, or if spell-checking will be enabled only when auto-complete is enabled (default).

SetTextContentType(IUITextInputTraits, NSString)

The semantic of the expected input, which allows the system to, for example, provide custom keyboards.

SetWritingToolsBehavior(IUITextInputTraits, UIWritingToolsBehavior)
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