iOS Guides | Samples

MonoTouch.UIKit.UITextFieldDelegate Class

A class that receives notifications from a UITextField.

See Also: UITextFieldDelegate

Syntax

[MonoTouch.Foundation.Model]
[MonoTouch.Foundation.Protocol]
[MonoTouch.Foundation.Register("UITextFieldDelegate", false)]
public class UITextFieldDelegate : NSObject, IUITextFieldDelegate, IDisposable

Remarks

A strongly typed implementation of a class that can be used to respond to events raised by the UITextField.

Related content

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

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

See Also: NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
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.

Public Methods

EditingEnded(UITextField)
Indicates that editing has ended in the specified text field.
EditingStarted(UITextField)
Indicates that editing has begun on the specified text field.
ShouldBeginEditing(UITextField) : Boolean
Whether editing should begin in the specified text field.
ShouldChangeCharacters(UITextField, NSRange, String) : Boolean
Whether the specified text should be changed.
ShouldClear(UITextField) : Boolean
Whether the specified text field's current contents should be removed.
ShouldEndEditing(UITextField) : Boolean
Whether editing should stop in the specified text field.
ShouldReturn(UITextField) : Boolean
Whether the text field should process the pressing of the return button.