The properties of UIKit.UITextField are listed below. For a list of all members, see the UITextField Members list.
See Also: Inherited members from UIKit.UIControl
| AdjustsFontSizeToFitWidth | bool. A stem.Boolean that controls if the font should be scaled down to ensure the text fits in the control. | |
| AllowsEditingTextAttributes | bool. Whether text entered or pasted can change the attributes of the content. | |
| [read-only] static | Appearance | UITextField.UITextFieldAppearance. Strongly-typed property that returns the UIAppearance class for this class. |
| AttributedPlaceholder | Foundation.NSAttributedString. Sets the contents of the placeholder as an attributed string. | |
| AttributedText | Foundation.NSAttributedString. Sets the contents of the text field using an attributed string. | |
| AutocapitalizationType | UITextAutocapitalizationType. This property controls how words should be capitalized by the system during user input. | |
| AutocorrectionType | UITextAutocorrectionType. This property controls how auto-correction should be applied by the system during user input. | |
| Background | UIImage. This property contains the image that will be displayed in the background of the control when it is enabled. | |
| [read-only] | BeginningOfDocument | UITextPosition. Specifies the text position that is the start of the document. Read-only. |
| BorderStyle | UITextBorderStyle. The border style. | |
| [read-only] override | ClassHandle | IntPtr. The handle for this class. |
| ClearButtonMode | UITextFieldViewMode. This property controls when the 'clear' button appears in the text field. | |
| ClearsOnBeginEditing | bool. This property indicates if the control will delete any existing text before editing. | |
| ClearsOnInsertion | bool. Whether a paste operation should replace existing content. | |
| [read-only] static | CurrentInputModeDidChangeNotification | Foundation.NSString. Notification constant for CurrentInputModeDidChange |
| Delegate | IUITextFieldDelegate. An instance of the UIKit.UITextFieldDelegate model class which acts as the class delegate. | |
| DisabledBackground | UIImage. The image to display in the background when the control is disabled. | |
| EnablesReturnKeyAutomatically | bool. A value that control if the return key is automatically enabled. | |
| [read-only] | EndOfDocument | UITextPosition. The text position for the end of the document. |
| Font | UIFont. The font to use for displaying 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. The input delegate object for this UIKit.UITextField. | |
| InputView | UIView. A custom view to be used when the control becomes the first responder. | |
| [read-only] | IsEditing | bool. A value that indicates if the user is editing the text in the view. Read-only. |
| KeyboardAppearance | UIKeyboardAppearance. The style of the keyboard that is used with the view. | |
| KeyboardType | UIKeyboardType. The type of keyboard to use with the view. | |
| LeftView | UIView. An overlay that is displayed on the left side of the view. | |
| LeftViewMode | UITextFieldViewMode. A property that determines when the UITextField.LeftView will be displayed. | |
| [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. | |
| MinimumFontSize | nfloat. This property represents the smallest font size that may be used for the text. | |
| Placeholder | string. This property represents the text to be displayed when there is no text in the view. | |
| 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. | |
| RightView | UIView. This property holds a overlay that will be displayed on the right side of the text field. | |
| RightViewMode | UITextFieldViewMode. This property controls when the UITextField.RightView will appear. | |
| SecureTextEntry | bool. This property controls if the text being displayed should be hidden. | |
| SelectedTextRange | UITextRange. This property returns the range of text that is selected. | |
| ShouldBeginEditing | UITextFieldCondition. Delegate invoked by the object to get a value. | |
| ShouldChangeCharacters | UITextFieldChange. Delegate invoked by the object to get a value. | |
| ShouldClear | UITextFieldCondition. Delegate invoked by the object to get a value. | |
| ShouldEndEditing | UITextFieldCondition. Delegate invoked by the object to get a value. | |
| ShouldReturn | UITextFieldCondition. 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. The text to display. | |
| TextAlignment | UITextAlignment. How the UITextField.Text should be aligned. | |
| [read-only] static | TextBackgroundColorKey | Foundation.NSString. The property holds the key that should be used to retrieve the background color of text from a Foundation.NSDictionary. |
| TextColor | UIColor. The color of the UITextField.Text. | |
| [read-only] static | TextColorKey | Foundation.NSString. The property holds the key that should be used to retrieve the value of the text color from a Foundation.NSDictionary. |
| [read-only] static | TextDidBeginEditingNotification | Foundation.NSString. Notification constant for TextDidBeginEditing |
| [read-only] static | TextDidEndEditingNotification | Foundation.NSString. Notification constant for TextDidEndEditing |
| [read-only] static | TextFieldTextDidChangeNotification | Foundation.NSString. Notification constant for TextFieldTextDidChange |
| [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] | 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 attribute keys to apply to newly typed text. | |
| WeakDefaultTextAttributes | Foundation.NSDictionary. A reference to the text attributes that does not prevent garbage collection. | |
| 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. | |
| [read-only] | WeakTokenizer | Foundation.NSObject. 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. |