UIKit.IUITextInput Members

The members of UIKit.IUITextInput are listed below.

Public Properties

[read-only]
BeginningOfDocumentUITextPosition. The position of text indicating the beginning of a document.
[read-only]
EndOfDocumentUITextPosition. The position of text indicating the beginning of a document.
[read-only]
MarkedTextRangeUITextRange. The currently marked range of text in a given document.
MarkedTextStyleFoundation.NSDictionary. Attribute dictionary describing how text should be drawn.
SelectedTextRangeUITextRange. The range of a document's selected text.
WeakInputDelegateFoundation.NSObject. Indicates a weak input delegate.
[read-only]
WeakTokenizerFoundation.NSObject. Indicates a weak tokenizer.

Public Methods

ComparePosition(UITextPosition, UITextPosition) : Foundation.NSComparisonResult
Gets a comparison of one position to another.
GetBaseWritingDirection(UITextPosition, UITextStorageDirection) : UITextWritingDirection
Gets the base writing direction for a text position.
GetCaretRectForPosition(UITextPosition) : CoreGraphics.CGRect
A rectangle used for drawing a caret at a given insertion point.
GetCharacterRange(UITextPosition, UITextLayoutDirection) : UITextRange
Gets a character range within the limits of a defined direction.
GetCharacterRangeAtPoint(CoreGraphics.CGPoint) : UITextRange
Gets the character or a range of characters in a document that exists at a given point.
GetClosestPositionToPoint(CoreGraphics.CGPoint) : UITextPosition
Gets the closest position in a document that exists to a given point.
GetClosestPositionToPoint(UITextRange, CoreGraphics.CGPoint) : UITextPosition
Gets the closest position to a specified point in a document.
GetFirstRectForRange(UITextRange) : CoreGraphics.CGRect
Gets the first rectangle enclosing a specified range of document text.
GetOffsetFromPosition(UITextPosition, UITextPosition) : nint
Gets the number of visible characters between two defined text positions.
GetPosition(UITextPosition, nint) : UITextPosition
Gets the character offset from the initial position.
GetPosition(UITextPosition, UITextLayoutDirection, nint) : UITextPosition
Gets the character offset from an initial position.
GetPositionWithinRange(UITextRange, UITextLayoutDirection) : UITextPosition
Gets a position within a specified range.
GetSelectionRects(UITextRange) : UITextSelectionRect[]
Gets an array of selection rects that corresponds to a text range.
GetTextRange(UITextPosition, UITextPosition) : UITextRange
Gets a specified text range.
ReplaceText(UITextRange, string)
Replaces document text within a specified range.
SetBaseWritingDirectionforRange(UITextWritingDirection, UITextRange)
Sets a base directon for writing in the specified range of text.
SetMarkedText(string, Foundation.NSRange)
Sets the marked text and marks it as the current selection.
TextInRange(UITextRange) : string
Gets all the text that is specified within a certain range.
UnmarkText()
Unmarks all currently marked text within a document