The members of UIKit.UITextView are listed below.
See Also: Inherited members from UIKit.UIScrollView
Default constructor that initializes a new instance of this class with no parameters. | ||
Initializes the UITextView with the specified frame. | ||
A constructor that initializes the object from the data stored in the unarchiver object. | ||
Instantiates a new UIKit.UITextView with the specified frame and textContainer. |
Constructor to call on derived classes to skip initialization and merely allocate the object. | ||
A constructor used when creating managed representations of unmanaged objects; Called by the runtime. |
AllowsEditingTextAttributes | bool. Whether the application user can change the style of the text. | |
[read-only] static | Appearance | UITextView.UITextViewAppearance. Strongly-typed property that returns the UIAppearance class for this class. |
AttributedText | Foundation.NSAttributedString. Contents of the text view as an attributed string. | |
AutocapitalizationType | UITextAutocapitalizationType. How input is converted to all capitalization. | |
AutocorrectionType | UITextAutocorrectionType. A property that controls when words will be automatically corrected. | |
[read-only] | BeginningOfDocument | UITextPosition. This property holds the text position for the beginning of the document. Read-only. |
[read-only] override | ClassHandle | IntPtr. The handle for this class. |
ClearsOnInsertion | bool. Whether inserting new text erases the current contents. | |
[read-only] static | CurrentInputModeDidChangeNotification | Foundation.NSString. Notification constant for CurrentInputModeDidChange |
DataDetectorTypes | UIDataDetectorType. This property holds a value that determines what text in the document can be converted into clickable links. | |
Delegate | IUITextViewDelegate. An instance of the UIKit.UITextViewDelegate model class which acts as the class delegate. | |
Editable | bool. This property determines if the text view is editable or not. | |
EnablesReturnKeyAutomatically | bool. If true, then the return key on the keyboard will be disabled when there is no text in the text view. | |
[read-only] | EndOfDocument | UITextPosition. This property holds the text position for the end of the document. Read-only. |
Font | UIFont. This property holds the font that will be used to display the text. | |
[read-only] | HasText | bool. A value representing if there is text in the view. |
InputAccessoryView | UIView. A custom view to display when this control becomes the first responder. | |
InputDelegate | IUITextInputDelegate. A delegate object that can respond to text and selection changes. | |
InputView | UIView. A custom view to be used when the controll becomes the first responder. | |
KeyboardAppearance | UIKeyboardAppearance. The style of the keyboard that is used with the view. | |
KeyboardType | UIKeyboardType. The type of keyboard to use with the view. | |
[read-only] | LayoutManager | NSLayoutManager. An UIKit.NSLayoutManager to control the layout of the text. |
[read-only] | MarkedTextRange | UITextRange. The range of marked text in the document. Read-only. |
MarkedTextStyle | Foundation.NSDictionary. A Foundation.NSDictionary of attributes describing style of the UITextField.MarkedTextRange. | |
ReturnKeyType | UIReturnKeyType. The property is used to get or set the UIKit.UIReturnKeyType of the "return" key. The "return" key will display different text depending on this property. | |
SecureTextEntry | bool. This property controls if the text being displayed should be hidden. | |
Selectable | bool. Whether the application user can select content and interact with links and text attachments. | |
SelectedRange | Foundation.NSRange. This property returns the range of text that is selected. | |
SelectedTextRange | UITextRange. This property returns the range of text that is selected. | |
ShouldBeginEditing | UITextViewCondition. Delegate invoked by the object to get a value. | |
ShouldChangeText | UITextViewChange. Delegate invoked by the object to get a value. | |
ShouldEndEditing | UITextViewCondition. Delegate invoked by the object to get a value. | |
ShouldInteractWithTextAttachment | Func<UITextView, NSTextAttachment, Foundation.NSRange, bool>. Delegate invoked by the object to get a value. | |
ShouldInteractWithUrl | Func<UITextView, Foundation.NSUrl, Foundation.NSRange, bool>. Delegate invoked by the object to get a value. | |
SpellCheckingType | UITextSpellCheckingType. This property controls if spell checking will be enabled or disabled during input. | |
Text | string. This property will set the text to display, or retrieve the text that is being displayed. | |
TextAlignment | UITextAlignment. How the UITextField.Text should be aligned. | |
[read-only] static | TextBackgroundColorKey | Foundation.NSString. The constant that should be used as the key value when retrieving the text background color from a Foundation.NSDictionary. |
TextColor | UIColor. The color to use for all the text in the UIKit.UITextView. | |
[read-only] static | TextColorKey | Foundation.NSString. The constant that should be used as the key value when retrieving the text color from a Foundation.NSDictionary. |
[read-only] | TextContainer | NSTextContainer. Defines the area in which text should be displayed. |
TextContainerInset | UIEdgeInsets. Defines the UITextView.TextContainer's layout area as insets from the UITextView's content area. | |
[read-only] static | TextDidBeginEditingNotification | Foundation.NSString. Notification constant for TextDidBeginEditing |
[read-only] static | TextDidChangeNotification | Foundation.NSString. Notification constant for TextDidChange |
[read-only] static | TextDidEndEditingNotification | Foundation.NSString. Notification constant for TextDidEndEditing |
[read-only] static | TextFontKey | Foundation.NSString. The property holds the key that should be used to retrieve the value of the font for the text from a Foundation.NSDictionary. |
[read-only] | TextInputView | UIView. This the view that provides the coordinate system. Read-only. |
[read-only] | TextStorage | NSTextStorage. Holds the attribute text being displayed. |
[read-only] | Tokenizer | IUITextInputTokenizer. 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. |
TypingAttributes | Foundation.NSDictionary. The attributes to be applied to newly-typed text. | |
WeakDelegate | Foundation.NSObject. An object that can respond to the delegate protocol for this type | |
WeakInputDelegate | Foundation.NSObject. An object that can respond to the delegate protocol for inserted text. | |
WeakLinkTextAttributes | Foundation.NSDictionary. Returns weak link text attributes. | |
[read-only] | WeakTokenizer | Foundation.NSObject. Returns weak tokenizer. |
static | AppearanceWhenContainedIn(params Type[])Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy. | |
ComparePosition(UITextPosition, UITextPosition)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>()The strongly-typed IUIAppearance for this object. | |
static | GetAppearance<T>(UITraitCollection)IUIAppearance for this object with specified 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)When overridden, customizes the placement of the dictation placeholder. | ||
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)The selection rectangles for 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()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)Called prior to an edit. Can be overridden to selectively filter edits. | ||
TextInRange(UITextRange)A substring of text in the range. | ||
UnmarkText()Any currently marked text is unmarked. |
Changed | Event raised by the object. | |
Ended | Raised when editing has finished in this UITextView. | |
SelectionChanged | Event raised by the object. | |
Started | Raised when editing has started on this UITextView. |