Mono Class Library: Overview

MonoTouch.UIKit.UITextField: Members

The members of MonoTouch.UIKit.UITextField are listed below.

See Also: Inherited members from MonoTouch.UIKit.UIControl

Public Constructors

Implemented by subclasses to initialize a new object (the receiver) immediately after memory for it has been allocated.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes when the derived class has an [Export] constructor.
Initializes and returns a newly allocated view object with the specified frame rectangle.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

AdjustsFontSizeToFitWidthbool. A Boolean value indicating whether the font size should be reduced in order to fit the text string into the text field’s bounding rectangle.
AutocapitalizationTypeUITextAutocapitalizationType. Documentation for this section has not yet been entered.
AutocorrectionTypeUITextAutocorrectionType. Documentation for this section has not yet been entered.
BackgroundUIImage. The image that represents the background appearance of the text field when it is enabled.
BorderStyleUITextBorderStyle. The border style used by the text field.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
ClearButtonModeUITextFieldViewMode. Controls when the standard clear button appears in the text field.
ClearsOnBeginEditingbool. A Boolean value indicating whether the text field removes old text when editing begins.
DelegateUITextFieldDelegate. An instance of the MonoTouch.UIKit.UITextFieldDelegate model class which acts as the class delegate.
DisabledBackgroundUIImage. The image that represents the background appearance of the text field when it is disabled.
EnablesReturnKeyAutomaticallybool. Documentation for this section has not yet been entered.
FontUIFont. The font of the text.
[read-only]
InputAccessoryViewUIView. The custom accessory view to display when the text field becomes the first responder
[read-only]
InputViewUIView. The custom input view to display when the text field becomes the first responder.
[read-only]
IsEditingbool. A Boolean value indicating whether the text field is currently in edit mode. (read-only)
KeyboardAppearanceUIKeyboardAppearance. Documentation for this section has not yet been entered.
KeyboardTypeUIKeyboardType. Documentation for this section has not yet been entered.
LeftViewUIView. The overlay view displayed on the left side of the text field.
LeftViewModeUITextFieldViewMode. Controls when the left overlay view appears in the text field.
MinimumFontSizefloat. The size of the smallest permissible font with which to draw the text field’s text.
Placeholderstring. The string that is displayed when there is no other text in the text field.
ReturnKeyTypeUIReturnKeyType. Documentation for this section has not yet been entered.
RightViewModeUITextFieldViewMode. The overlay view displayed on the right side of the text field.
SecureTextEntrybool. Documentation for this section has not yet been entered.
ShouldBeginEditingUITextFieldCondition. Determines if editing can start.
ShouldChangeCharactersUITextFieldChange. Use this callback to control whether the characters in the range can be changed.
ShouldClearUITextFieldCondition. Controls whether the UITextField will be cleared.
ShouldEndEditingUITextFieldCondition. Determines whether editing should stop.
ShouldReturnUITextFieldCondition. Controls whether the UITextField should process the Return button.
Textstring. The text displayed by the text field.
TextAlignmentUITextAlignment. The technique to use for aligning the text.
TextColorUIColor. The color of the text.
[read-only]
static
TextDidBeginEditingNotificationMonoTouch.Foundation.NSString. Documentation for this section has not yet been entered.
[read-only]
static
TextDidEndEditingNotificationMonoTouch.Foundation.NSString. Documentation for this section has not yet been entered.
[read-only]
static
TextFieldTextDidChangeNotificationMonoTouch.Foundation.NSString. Documentation for this section has not yet been entered.
WeakDelegateMonoTouch.Foundation.NSObject. The receiver’s delegate.

Public Methods

BorderRect(System.Drawing.RectangleF) : System.Drawing.RectangleF
Returns the receiver’s border rectangle.
ClearButtonRect(System.Drawing.RectangleF) : System.Drawing.RectangleF
Returns the drawing rectangle for the built-in clear button.
DrawPlaceholder(System.Drawing.RectangleF)
Draws the receiver’s placeholder text in the specified rectangle.
DrawText(System.Drawing.RectangleF)
Draws the receiver’s text in the specified rectangle.
EditingRect(System.Drawing.RectangleF) : System.Drawing.RectangleF
Returns the rectangle in which editable text can be displayed.
LeftViewRect(System.Drawing.RectangleF) : System.Drawing.RectangleF
Returns the drawing rectangle of the receiver’s left overlay view.
PlaceholderRect(System.Drawing.RectangleF) : System.Drawing.RectangleF
Returns the drawing rectangle for the text field’s placeholder text
RightViewRect(System.Drawing.RectangleF) : System.Drawing.RectangleF
Returns the drawing location of the receiver’s right overlay view.
TextRect(System.Drawing.RectangleF) : System.Drawing.RectangleF
Returns the drawing rectangle for the text field’s text.

Public Events

EndedRaised when editing has ended.
StartedRaised when editing has started.

Extension Methods

static
AsQueryable(this IEnumerable) : System.Linq.IQueryable
Documentation for this section has not yet been entered.
static
Cast<TResult>(this IEnumerable) : IEnumerable<TResult>
Documentation for this section has not yet been entered.
static
OfType<TResult>(this IEnumerable) : IEnumerable<TResult>
Documentation for this section has not yet been entered.