UIKit.UITextView: Property Members

The properties 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 Properties

AllowsEditingTextAttributesbool. Whether the application user can change the style of the text.
[read-only]
static
AppearanceUITextView.UITextViewAppearance. Strongly-typed property that returns the UIAppearance class for this class.
AttributedTextFoundation.NSAttributedString. Contents of the text view as an attributed string.
AutocapitalizationTypeUITextAutocapitalizationType. How input is converted to all capitalization.
AutocorrectionTypeUITextAutocorrectionType. A property that controls when words will be automatically corrected.
[read-only]
BeginningOfDocumentUITextPosition. This property holds the text position for the beginning of the document. Read-only.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
ClearsOnInsertionbool. Whether inserting new text erases the current contents.
[read-only]
static
CurrentInputModeDidChangeNotificationFoundation.NSString. Notification constant for CurrentInputModeDidChange
DataDetectorTypesUIDataDetectorType. This property holds a value that determines what text in the document can be converted into clickable links.
DelegateIUITextViewDelegate. An instance of the UIKit.UITextViewDelegate model class which acts as the class delegate.
Editablebool. This property determines if the text view is editable or not.
EnablesReturnKeyAutomaticallybool. If true, then the return key on the keyboard will be disabled when there is no text in the text view.
[read-only]
EndOfDocumentUITextPosition. This property holds the text position for the end of the document. Read-only.
FontUIFont. This property holds the font that will be used to display the text.
[read-only]
HasTextbool. A value representing if there is text in the view.
InputAccessoryViewUIView. A custom view to display when this control becomes the first responder.
InputDelegateIUITextInputDelegate. A delegate object that can respond to text and selection changes.
InputViewUIView. A custom view to be used when the controll becomes the first responder.
KeyboardAppearanceUIKeyboardAppearance. The style of the keyboard that is used with the view.
KeyboardTypeUIKeyboardType. The type of keyboard to use with the view.
[read-only]
LayoutManagerNSLayoutManager. An UIKit.NSLayoutManager to control the layout of the text.
[read-only]
MarkedTextRangeUITextRange. The range of marked text in the document. Read-only.
MarkedTextStyleFoundation.NSDictionary. A Foundation.NSDictionary of attributes describing style of the UITextField.MarkedTextRange.
ReturnKeyTypeUIReturnKeyType. 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.
SecureTextEntrybool. This property controls if the text being displayed should be hidden.
Selectablebool. Whether the application user can select content and interact with links and text attachments.
SelectedRangeFoundation.NSRange. This property returns the range of text that is selected.
SelectedTextRangeUITextRange. This property returns the range of text that is selected.
ShouldBeginEditingUITextViewCondition. Delegate invoked by the object to get a value.
ShouldChangeTextUITextViewChange. Delegate invoked by the object to get a value.
ShouldEndEditingUITextViewCondition. Delegate invoked by the object to get a value.
ShouldInteractWithTextAttachmentFunc<UITextView, NSTextAttachment, Foundation.NSRange, bool>. Delegate invoked by the object to get a value.
ShouldInteractWithUrlFunc<UITextView, Foundation.NSUrl, Foundation.NSRange, bool>. Delegate invoked by the object to get a value.
SpellCheckingTypeUITextSpellCheckingType. This property controls if spell checking will be enabled or disabled during input.
Textstring. This property will set the text to display, or retrieve the text that is being displayed.
TextAlignmentUITextAlignment. How the UITextField.Text should be aligned.
[read-only]
static
TextBackgroundColorKeyFoundation.NSString. The constant that should be used as the key value when retrieving the text background color from a Foundation.NSDictionary.
TextColorUIColor. The color to use for all the text in the UIKit.UITextView.
[read-only]
static
TextColorKeyFoundation.NSString. The constant that should be used as the key value when retrieving the text color from a Foundation.NSDictionary.
[read-only]
TextContainerNSTextContainer. Defines the area in which text should be displayed.
TextContainerInsetUIEdgeInsets. Defines the UITextView.TextContainer's layout area as insets from the UITextView's content area.
[read-only]
static
TextDidBeginEditingNotificationFoundation.NSString. Notification constant for TextDidBeginEditing
[read-only]
static
TextDidChangeNotificationFoundation.NSString. Notification constant for TextDidChange
[read-only]
static
TextDidEndEditingNotificationFoundation.NSString. Notification constant for TextDidEndEditing
[read-only]
static
TextFontKeyFoundation.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]
TextInputViewUIView. This the view that provides the coordinate system. Read-only.
[read-only]
TextStorageNSTextStorage. Holds the attribute text being displayed.
[read-only]
TokenizerIUITextInputTokenizer. 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.
TypingAttributesFoundation.NSDictionary. The attributes to be applied to newly-typed text.
WeakDelegateFoundation.NSObject. An object that can respond to the delegate protocol for this type
WeakInputDelegateFoundation.NSObject. An object that can respond to the delegate protocol for inserted text.
WeakLinkTextAttributesFoundation.NSDictionary. Returns weak link text attributes.
[read-only]
WeakTokenizerFoundation.NSObject. Returns weak tokenizer.