The methods of UIKit.UITextField are listed below. For a list of all members, see the UITextField Members list.
See Also: Inherited members from UIKit.UIControl
static | AppearanceWhenContainedIn(params Type[])Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy. | |
BorderRect(CoreGraphics.CGRect)Returns the border rectangle. | ||
ClearButtonRect(CoreGraphics.CGRect)Returns a rectangle for drawing the 'clear' button. | ||
ComparePosition(UITextPosition, UITextPosition)Returns a value that shows how one location in a document that compares to another location: before, identical, or after. | ||
DeleteBackward()This method will delete one character backward of the cursor. | ||
DictationRecognitionFailed()This method is called when dictation has completed and failed. | ||
DictationRecordingDidEnd()Called when dictation finished. | ||
DrawPlaceholder(CoreGraphics.CGRect)Will draw the placeholder text in the provided rectangle. | ||
DrawText(CoreGraphics.CGRect)Will draw the text in the provided rectangle. | ||
EditingRect(CoreGraphics.CGRect)Returns the rectangle to display the editable text. | ||
static | GetAppearance<T>()The strongly-typed IUIAppearance for this object. | |
static | GetAppearance<T>(UITraitCollection)The strongly-typed IUIAppearance for this object with traits. | |
static | GetAppearance<T>(UITraitCollection, params Type[])IUIAppearance for this object with specified traits and customized container. | |
GetBaseWritingDirection(UITextPosition, UITextStorageDirection)Determines the writing direction from a position within the text. | ||
GetCaretRectForPosition(UITextPosition)This method will return a rectangle that can be used for drawing the insertion caret. | ||
GetCharacterOffsetOfPosition(UITextPosition, UITextRange)Returns the number of characters in some text between position and the start of the range. | ||
GetCharacterRange(UITextPosition, UITextLayoutDirection)Returns a range that represents the distance from byExtendingPosition to as far as is possible in direction. | ||
GetCharacterRangeAtPoint(CoreGraphics.CGPoint)Returns the character or characters at the point specified. | ||
GetClosestPositionToPoint(CoreGraphics.CGPoint)Returns the position that is closest to the point specified within the control. | ||
GetClosestPositionToPoint(UITextRange, CoreGraphics.CGPoint)Returns the position in withinRange that is closest to withinRange. | ||
GetFirstRectForRange(UITextRange)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)The frame in which the dictation results should be displayed. | ||
GetOffsetFromPosition(UITextPosition, UITextPosition)Returns the number of characters between two visible locations in a document. | ||
GetPosition(UITextPosition, nint)Returns a second position that is offset from the specified position. | ||
GetPosition(UITextRange, nint)Returns a position within a document relative to the start of withinRange. | ||
GetPosition(UITextPosition, UITextLayoutDirection, nint)Returns a second position in a document the direction and offset relative to the first position. | ||
GetPositionWithinRange(UITextRange, UITextLayoutDirection)Returns the furthest position possible in the visible text. | ||
GetSelectionRects(UITextRange)An array of UIKit.UITextSelectionRects that frame the range. | ||
GetTextRange(UITextPosition, UITextPosition)Returns the text range between two positions in a document. | ||
GetTextStyling(UITextPosition, UITextStorageDirection)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()When overridden, can be used to provide information for UITextField.GetFrameForDictationResultPlaceholder. | ||
InsertText(string)This method will insert text into the view at the position indicated by the cursor. | ||
LeftViewRect(CoreGraphics.CGRect)Returns the rectangle in which the UITextField.LeftView should be displayed. | ||
PlaceholderRect(CoreGraphics.CGRect)This property represents the rectangle that is used to draw the UIKet.UITextField.PlaceHolder text. | ||
RemoveDictationResultPlaceholder(Foundation.NSObject, bool)With UITextField.InsertDictationResultPlaceholder, allows the app developer to customize the location of the placeholder for dictation results. | ||
ReplaceText(UITextRange, string)Replaces text in the specified range with the text provided. | ||
RightViewRect(CoreGraphics.CGRect)This method will return the location of the UITextField.RightView. | ||
SetBaseWritingDirectionforRange(UITextWritingDirection, UITextRange)Sets the writing direction for a given range of text. | ||
SetMarkedText(string, Foundation.NSRange)This method will replace any existing marked text the specified text and then selects it. | ||
ShouldChangeTextInRange(UITextRange, string)Allows the app developer to programmatically reject replacement text. | ||
TextInRange(UITextRange)A substring of text in the range. | ||
TextRect(CoreGraphics.CGRect)This method return the computed rectangle for drawing the text. | ||
UnmarkText()Any currently marked text is unmarked. | ||