UIKit.UITextView: Method Members

The methods of UIKit.UITextView are listed below. For a list of all members, see the UITextView Members list.

See Also: Inherited members from UIKit.UIScrollView

Public Methods

static
AppearanceWhenContainedIn(params Type[]) : UITextView.UITextViewAppearance
Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.
ComparePosition(UITextPosition, UITextPosition) : Foundation.NSComparisonResult
Returns a value that shows how one location in a document that compares to another location: before, identical, or after.
DeleteBackward()
Deletes one character backwards from the cursor.
DictationRecognitionFailed()
This method is called once dictation has unsuccessfully completed.
DictationRecordingDidEnd()
This method is called when the there is a pending dictation.
static
GetAppearance<T>() : UITextView.UITextViewAppearance
The strongly-typed IUIAppearance for this object.
static
GetAppearance<T>(UITraitCollection) : UITextView.UITextViewAppearance
IUIAppearance for this object with specified traits.
static
GetAppearance<T>(UITraitCollection, params Type[]) : UITextView.UITextViewAppearance
IUIAppearance for this object with specified traits and customized container.
GetBaseWritingDirection(UITextPosition, UITextStorageDirection) : UITextWritingDirection
Determines the writing direction from a position within the text.
GetCaretRectForPosition(UITextPosition) : CoreGraphics.CGRect
This method will return a rectangle that can be used for drawing the insertion caret.
GetCharacterOffsetOfPosition(UITextPosition, UITextRange) : nint
Returns the number of characters in some text between position and the start of the range.
GetCharacterRange(UITextPosition, UITextLayoutDirection) : UITextRange
Returns a range that represents the distance from byExtendingPosition to as far as is possible in direction.
GetCharacterRangeAtPoint(CoreGraphics.CGPoint) : UITextRange
Returns the character or characters at the point specified.
GetClosestPositionToPoint(CoreGraphics.CGPoint) : UITextPosition
Returns the position that is closest to the point specified within the control.
GetClosestPositionToPoint(UITextRange, CoreGraphics.CGPoint) : UITextPosition
Returns the position in withinRange that is closest to withinRange.
GetFirstRectForRange(UITextRange) : CoreGraphics.CGRect
Returns a rectangle that will enclose the first line of text in the range (if the range specifies multiple lines of text).
GetFrameForDictationResultPlaceholder(Foundation.NSObject) : CoreGraphics.CGRect
When overridden, customizes the placement of the dictation placeholder.
GetOffsetFromPosition(UITextPosition, UITextPosition) : nint
Returns the number of characters between two visible locations in a document.
GetPosition(UITextPosition, nint) : UITextPosition
Returns a second position that is offset from the specified position.
GetPosition(UITextRange, nint) : UITextPosition
Returns a position within a document relative to the start of withinRange.
GetPosition(UITextPosition, UITextLayoutDirection, nint) : UITextPosition
Returns a second position in a document the direction and offset relative to the first position.
GetPositionWithinRange(UITextRange, UITextLayoutDirection) : UITextPosition
Returns the furthest position possible in the visible text.
GetSelectionRects(UITextRange) : UITextSelectionRect[]
The selection rectangles for the range.
GetTextRange(UITextPosition, UITextPosition) : UITextRange
Returns the text range between two positions in a document.
GetTextStyling(UITextPosition, UITextStorageDirection) : Foundation.NSDictionary
Returns a Foundation.NSDictionary of styling properties at the position and in the direction specified.
InsertDictationResult(Foundation.NSArray)
Used to select a UIKit.UIDictationPhrase from a collection of possible phrases.
InsertDictationResultPlaceholder() : Foundation.NSObject
The dictation-results placeholder that will be used during dictation processing.
InsertText(string)
This method will insert text into the view at the position indicated by the cursor.
RemoveDictationResultPlaceholder(Foundation.NSObject, bool)
Informs the UIKit.UITextView that the placeholder is no longer needed.
ReplaceText(UITextRange, string)
Replaces text in the specified range with the text provided.
ScrollRangeToVisible(Foundation.NSRange)
Scrolls the text view until the range is visible.
SetBaseWritingDirectionforRange(UITextWritingDirection, UITextRange)
Specifies the base writing direction.
SetMarkedText(string, Foundation.NSRange)
This method will replace any existing marked text the specified text and then selects it.
ShouldChangeTextInRange(UITextRange, string) : bool
Called prior to an edit. Can be overridden to selectively filter edits.
TextInRange(UITextRange) : string
A substring of text in the range.
UnmarkText()
Any currently marked text is unmarked.

Protected Methods

override
Dispose(bool)
Releases the resources used by the UITextView object.