iOS Guides | Samples

MonoTouch.UIKit.UITextFieldDelegate_Extensions Class

Extension methods to the IUITextFieldDelegate interface to support all the methods from the UITextFieldDelegate protocol.

See Also: UITextFieldDelegate_Extensions

Syntax

public static class UITextFieldDelegate_Extensions

Remarks

The extension methods for IUITextFieldDelegate allow developers to treat instances of the interface as having all the optional methods of the original UITextFieldDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Requirements

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

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

See Also: Object

Public Methods

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