편집

다음을 통해 공유


IUITextFieldDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol UITextFieldDelegate.

[Foundation.Protocol(Name="UITextFieldDelegate", WrapperType=typeof(UIKit.UITextFieldDelegateWrapper))]
public interface IUITextFieldDelegate : IDisposable, ObjCRuntime.INativeObject
type IUITextFieldDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UITextFieldDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UITextFieldDelegate protocol.

Optional methods (if any) are provided by the UITextFieldDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

EditingEnded(IUITextFieldDelegate, UITextField, UITextFieldDidEndEditingReason)

Indicates that editing has ended in the specified text field for the specified reason.

EditingEnded(IUITextFieldDelegate, UITextField)

Indicates that editing has ended in the specified text field.

EditingStarted(IUITextFieldDelegate, UITextField)

Indicates that editing has begun on the specified text field.

ShouldBeginEditing(IUITextFieldDelegate, UITextField)

Whether editing should begin in the specified text field.

ShouldChangeCharacters(IUITextFieldDelegate, UITextField, NSRange, String)

Whether the specified text should be changed.

ShouldClear(IUITextFieldDelegate, UITextField)

Whether the specified text field's current contents should be removed.

ShouldEndEditing(IUITextFieldDelegate, UITextField)

Whether editing should stop in the specified text field.

ShouldReturn(IUITextFieldDelegate, UITextField)

Whether the text field should process the pressing of the return button.

Applies to