Share via


UITextView Class

Definition

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

Constructors

Name Description
UITextView()

Creates a new UITextView with default values.

UITextView(CGRect, NSTextContainer)
UITextView(CGRect)
UITextView(NativeHandle)

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

UITextView(NSCoder)

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

UITextView(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)
AdjustedContentInset (Inherited from UIScrollView)
AdjustsFontForContentSizeCategory
AlignmentRectInsets (Inherited from UIView)
AllowedWritingToolsResultOptions
AllowsEditingTextAttributes
AllowsKeyboardScrolling (Inherited from UIScrollView)
AllowsNumberPadPopover
AllowTextAttachmentInteraction

Gets or sets the delegate for determining whether the text view should interact with specific text attachments.

AllowUrlInteraction

Gets or sets the delegate for determining whether the text view should interact with specific URLs.

Alpha (Inherited from UIView)
AlwaysBounceHorizontal (Inherited from UIScrollView)
AlwaysBounceVertical (Inherited from UIScrollView)
AnchorPoint (Inherited from UIView)
Appearance

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

AppliedContentSizeCategoryLimitsDescription (Inherited from UIView)
AttributedText
AutocapitalizationType

The UITextAutocapitalizationType used by the IUITextInput.

AutocorrectionType

The UITextAutocorrectionType used by the IUITextInput.

AutomaticallyAdjustsScrollIndicatorInsets (Inherited from UIScrollView)
AutoresizingMask (Inherited from UIView)
AutosizesSubviews (Inherited from UIView)
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)
BottomEdgeEffect (Inherited from UIScrollView)
Bounces (Inherited from UIScrollView)
BouncesHorizontally (Inherited from UIScrollView)
BouncesVertically (Inherited from UIScrollView)
BouncesZoom (Inherited from UIScrollView)
Bounds (Inherited from UIView)
CanBecomeFirstResponder (Inherited from UIResponder)
CanBecomeFocused (Inherited from UIView)
CanCancelContentTouches (Inherited from UIScrollView)
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.

ClearsContextBeforeDrawing (Inherited from UIView)
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)
ContentAlignmentPoint (Inherited from UIScrollView)
ContentInset (Inherited from UIScrollView)
ContentInsetAdjustmentBehavior (Inherited from UIScrollView)
ContentLayoutGuide (Inherited from UIScrollView)
ContentMode (Inherited from UIView)
ContentOffset (Inherited from UIScrollView)
ContentScaleFactor (Inherited from UIView)
ContentSize (Inherited from UIScrollView)
ContentStretch (Inherited from UIView)
ConversationContext
CoordinateSpace

Gets the coordinate space implemenation.

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

Notification constant for CurrentInputModeDidChange

DataDetectorTypes
DebugDescription (Inherited from NSObject)
Decelerating

If this property returns true, then scrolling is still occuring in the scroll view but the user is not dragging their finger.

(Inherited from UIScrollView)
DecelerationRate (Inherited from UIScrollView)
DelaysContentTouches (Inherited from UIScrollView)
Delegate

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

Description (Inherited from NSObject)
DirectionalLayoutMargins (Inherited from UIView)
DirectionalLockEnabled

If true, and the user begins scrolling in one axis (i.e. horizontally) then the scroll view disables scrolling in the other axis (i.e. vertically).

(Inherited from UIScrollView)
DirectionalPressGestureRecognizer (Inherited from UIScrollView)
Dragging

Returns true if the content has begun scrolling. Read-only.

(Inherited from UIScrollView)
Editable

This property determines if the text view is editable or not.

EditingInteractionConfiguration (Inherited from UIResponder)
EffectiveUserInterfaceLayoutDirection (Inherited from UIView)
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)
FindInteraction
FindInteractionEnabled
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)
FrameLayoutGuide (Inherited from UIScrollView)
GestureRecognizers (Inherited from UIView)
GetWritingToolsIgnoredRangesInEnclosingRange
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)
HorizontalScrollIndicatorInsets (Inherited from UIScrollView)
HoverStyle (Inherited from UIView)
IndexDisplayMode (Inherited from UIScrollView)
IndicatorStyle (Inherited from UIScrollView)
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)
IsFirstResponder (Inherited from UIResponder)
IsProxy (Inherited from NSObject)
IsTransparentFocusItem (Inherited from UIView)
KeyboardAppearance

The UIKeyboardAppearance used by the IUITextInput

KeyboardDismissMode (Inherited from UIScrollView)
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)
LayoutManager
LayoutMargins (Inherited from UIView)
LayoutMarginsGuide (Inherited from UIView)
LeadingAnchor (Inherited from UIView)
LeftAnchor (Inherited from UIView)
LeftEdgeEffect (Inherited from UIScrollView)
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)
MaximumZoomScale (Inherited from UIScrollView)
MinimumContentSizeCategory (Inherited from UIView)
MinimumZoomScale (Inherited from UIScrollView)
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)
PagingEnabled

If true then scrolling will stop on paging boundaries of the content view; scrolling occurs a page at a time.

(Inherited from UIScrollView)
PanGestureRecognizer (Inherited from UIScrollView)
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.

PinchGestureRecognizer (Inherited from UIScrollView)
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)
RefreshControl (Inherited from UIScrollView)
RestorationIdentifier (Inherited from UIView)
RetainCount (Inherited from NSObject)
ReturnKeyType

The form of the return key for the IUITextInput.

RightAnchor (Inherited from UIView)
RightEdgeEffect (Inherited from UIScrollView)
SafeAreaInsets (Inherited from UIView)
SafeAreaLayoutGuide (Inherited from UIView)
ScalesLargeContentImage (Inherited from UIView)
ScrollAnimating (Inherited from UIScrollView)
ScrollEnabled

If set to true then scrolling is enabled.

(Inherited from UIScrollView)
ScrollIndicatorInsets (Inherited from UIScrollView)
ScrollsToTop (Inherited from UIScrollView)
SecureTextEntry

Whether the entered text should be hidden.

Selectable

Whether the application user can select content and interact with links and text attachments.

SelectedRange
SelectedRanges
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

Delegate invoked by the object to get a value.

ShouldChangeText

Delegate invoked by the object to get a value.

ShouldEndEditing

Delegate invoked by the object to get a value.

ShouldGroupAccessibilityChildren (Inherited from UIView)
ShouldInteractWithTextAttachment

Delegate invoked by the object to get a value.

ShouldInteractWithUrl

Delegate invoked by the object to get a value.

ShouldScrollToTop

Delegate invoked by the object to get a value.

(Inherited from UIScrollView)
ShowsHorizontalScrollIndicator (Inherited from UIScrollView)
ShowsLargeContentViewer (Inherited from UIView)
ShowsVerticalScrollIndicator (Inherited from UIScrollView)
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).

SubclassForWritingToolsCoordinator
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
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.

TextContainer
TextContainerInset
TextContentType

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

TextDidBeginEditingNotification

Notification constant for TextDidBeginEditing

TextDidChangeNotification

Notification constant for TextDidChange

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.

TextFontKey

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

TextFormattingConfiguration
TextHighlightAttributes
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.

TextLayoutManager
TextStorage
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.

TopAnchor (Inherited from UIView)
TopEdgeEffect (Inherited from UIScrollView)
TouchBar (Inherited from UIResponder)
Tracking

Returns true if the user has touched the content and scrolling is about to begin.

(Inherited from UIScrollView)
TrailingAnchor (Inherited from UIView)
TraitCollection

Gets the trait collection that describes the environment.

(Inherited from UIView)
TraitOverrides (Inherited from UIView)
TransfersHorizontalScrollingToParent (Inherited from UIScrollView)
TransfersVerticalScrollingToParent (Inherited from UIScrollView)
Transform (Inherited from UIView)
Transform3D (Inherited from UIView)
TranslatesAutoresizingMaskIntoConstraints (Inherited from UIView)
TypingAttributes
TypingAttributes2
UndoManager (Inherited from UIResponder)
UserActivity (Inherited from UIResponder)
UserInteractionEnabled

Determines whether input events are processed by this view.

(Inherited from UIView)
UsesStandardTextScaling
VerticalScrollIndicatorInsets (Inherited from UIScrollView)
ViewForBaselineLayout (Inherited from UIView)
ViewForFirstBaselineLayout (Inherited from UIView)
ViewForLastBaselineLayout (Inherited from UIView)
ViewForZoomingInScrollView

Delegate invoked by the object to get a value.

(Inherited from UIScrollView)
ViewPrintFormatter (Inherited from UIView)
VisibleSize

Gets the visible size of the scrollview container.

(Inherited from UIScrollView)
WeakDelegate
WeakInputDelegate

Indicates a weak input delegate.

WeakLinkTextAttributes
WeakTokenizer

Indicates a weak tokenizer.

WidthAnchor (Inherited from UIView)
Window (Inherited from UIView)
WritingToolsActive
WritingToolsBehavior
WritingToolsCoordinator
Zone (Inherited from NSObject)
ZoomAnimating (Inherited from UIScrollView)
ZoomBouncing

Returns true if the scroll view is bouncing back to the zoom scaling limits specified byMinimumZoomScale and MaximumZoomScale. Read-only.

(Inherited from UIScrollView)
Zooming

Returns true if the content view is zooming in or out. Read-only.

(Inherited from UIScrollView)
ZoomScale (Inherited from UIScrollView)

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)
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)
AdjustedContentInsetDidChange() (Inherited from UIScrollView)
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)
BringSubviewToFront(UIView) (Inherited from UIView)
BuildMenu(IUIMenuBuilder) (Inherited from UIResponder)
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)
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)
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)
DrawRect(CGRect, UIViewPrintFormatter) (Inherited from UIView)
DrawTextHighlightBackground(NSTextRange, CGPoint)
DrawViewHierarchy(CGRect, Boolean) (Inherited from UIView)
Duplicate(NSObject) (Inherited from UIResponder)
EncodeRestorableState(NSCoder) (Inherited from UIView)
EncodeTo(NSCoder)

Encodes the state of the object using the provided encoder.

EndFloatingCursor()

Ends display of the floating cursor.

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)
FlashScrollIndicators() (Inherited from UIScrollView)
FrameForAlignmentRect(CGRect) (Inherited from UIView)
GestureRecognizerShouldBegin(UIGestureRecognizer) (Inherited from UIView)
GetAppearance(UITraitCollection, Type[])

Obtains the appearance proxy UITextView.UITextViewAppearance for UITextView.

GetAppearance(UITraitCollection)

Obtains the appearance proxy UITextView.UITextViewAppearance for UITextView.

GetAppearance<T>()

Obtains the appearance proxy UITextView.UITextViewAppearance for the subclass of UITextView.

GetAppearance<T>(UITraitCollection, Type[])

Obtains the appearance proxy UITextView.UITextViewAppearance for the subclass of UITextView.

GetAppearance<T>(UITraitCollection)

Obtains the appearance proxy UITextView.UITextViewAppearance for the subclass of UITextView.

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.

GetConstraintsAffectingLayout(UILayoutConstraintAxis) (Inherited from UIView)
GetDictionaryOfValuesFromKeys(NSString[]) (Inherited from NSObject)
GetDirectionalEdgeInsets(UIViewLayoutRegion) (Inherited from UIView)
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 UIScrollView)
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)
GetLayoutGuide(UIViewLayoutRegion) (Inherited from UIView)
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.

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.

GetTextView(Boolean)
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)
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)
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)
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)
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)
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)
SafeAreaInsetsDidChange() (Inherited from UIView)
ScrollRangeToVisible(NSRange)
ScrollRectToVisible(CGRect, Boolean) (Inherited from UIScrollView)
Select(NSObject) (Inherited from UIResponder)
SelectAll(NSObject) (Inherited from UIResponder)
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)
SetContentOffset(CGPoint, Boolean) (Inherited from UIScrollView)
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)
SetZoomScale(NFloat, Boolean)

Sets the scale of the UIScrollView object's contents. (See ZoomScale)

(Inherited from UIScrollView)
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)
StopScrollingAndZooming() (Inherited from UIScrollView)
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.

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)
TouchesShouldBegin(NSSet, UIEvent, UIView) (Inherited from UIScrollView)
TouchesShouldCancelInContentView(UIView) (Inherited from UIScrollView)
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)
WillDrawLayer(CALayer)

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

(Inherited from UIView)
WillMoveToSuperview(UIView) (Inherited from UIView)
WillMoveToWindow(UIWindow) (Inherited from UIView)
WillPresentEditMenu(IUIEditMenuInteractionAnimating)
WillPresentWritingTools()
WillRemoveSubview(UIView) (Inherited from UIView)
WithScrollIndicatorsShown(Action) (Inherited from UIScrollView)
ZoomToRect(CGRect, Boolean) (Inherited from UIScrollView)

Events

Name Description
Changed

Event raised by the object.

DecelerationEnded

Event raised by the object.

(Inherited from UIScrollView)
DecelerationStarted

Event raised by the object.

(Inherited from UIScrollView)
DidBeginFormatting
DidChangeAdjustedContentInset

Event raised by the object.

(Inherited from UIScrollView)
DidEndFormatting
DidZoom

Event raised by the object.

(Inherited from UIScrollView)
DraggingEnded

Event raised by the object.

(Inherited from UIScrollView)
DraggingStarted

Event raised by the object.

(Inherited from UIScrollView)
Ended

Raised when editing has finished in this UITextView.

ScrollAnimationEnded

Event raised by the object.

(Inherited from UIScrollView)
Scrolled

Event raised by the object.

(Inherited from UIScrollView)
ScrolledToTop

Event raised by the object.

(Inherited from UIScrollView)
SelectionChanged

Event raised by the object.

Started

Raised when editing has started on this UITextView.

WillBeginFormatting
WillEndDragging

Event raised by the object.

(Inherited from UIScrollView)
WillEndFormatting
WritingToolsDidEnd
WritingToolsWillBegin
ZoomingEnded

Event raised by the object.

(Inherited from UIScrollView)
ZoomingStarted

Event raised by the object.

(Inherited from UIScrollView)

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)
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