Share via


IUITextFieldDelegate Interface

Definition

This interface represents the Objective-C protocol UITextFieldDelegate.

[Foundation.Protocol(Name="UITextFieldDelegate", WrapperType=typeof(UIKit.UITextFieldDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBeginEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldBeginEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingStarted", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidBeginEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldEndEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldEndEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingEnded", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidEndEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingEnded", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(UIKit.UITextFieldDidEndEditingReason) }, Selector="textFieldDidEndEditing:reason:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldClear", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldClear:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldReturn", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldReturn:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldChangeCharacters", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSRange), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="textField:shouldChangeCharactersInRange:replacementString:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeSelection", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidChangeSelection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresentEditMenu", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(UIKit.IUIEditMenuInteractionAnimating) }, Selector="textField:willPresentEditMenuWithAnimator:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillDismissEditMenu", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(UIKit.IUIEditMenuInteractionAnimating) }, Selector="textField:willDismissEditMenuWithAnimator:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetEditMenu", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSRange), typeof(UIKit.UIMenuElement[]) }, ReturnType=typeof(UIKit.UIMenu), Selector="textField:editMenuForCharactersInRange:suggestedActions:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InsertInputSuggestion", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(UIKit.UIInputSuggestion) }, Selector="textField:insertInputSuggestion:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldChangeCharacters", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSValue[]), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="textField:shouldChangeCharactersInRanges:replacementString:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetEditMenu", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSValue[]), typeof(UIKit.UIMenuElement[]) }, ReturnType=typeof(UIKit.UIMenu), Selector="textField:editMenuForCharactersInRanges:suggestedActions:")]
public interface IUITextFieldDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="UITextFieldDelegate", WrapperType=typeof(UIKit.UITextFieldDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBeginEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldBeginEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingStarted", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidBeginEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldEndEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldEndEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingEnded", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidEndEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingEnded", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(UIKit.UITextFieldDidEndEditingReason) }, Selector="textFieldDidEndEditing:reason:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldClear", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldClear:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldReturn", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldReturn:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldChangeCharacters", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSRange), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="textField:shouldChangeCharactersInRange:replacementString:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeSelection", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidChangeSelection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresentEditMenu", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(UIKit.IUIEditMenuInteractionAnimating) }, Selector="textField:willPresentEditMenuWithAnimator:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillDismissEditMenu", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(UIKit.IUIEditMenuInteractionAnimating) }, Selector="textField:willDismissEditMenuWithAnimator:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetEditMenu", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSRange), typeof(UIKit.UIMenuElement[]) }, ReturnType=typeof(UIKit.UIMenu), Selector="textField:editMenuForCharactersInRange:suggestedActions:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldChangeCharacters", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSValue[]), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="textField:shouldChangeCharactersInRanges:replacementString:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetEditMenu", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSValue[]), typeof(UIKit.UIMenuElement[]) }, ReturnType=typeof(UIKit.UIMenu), Selector="textField:editMenuForCharactersInRanges:suggestedActions:")]
public interface IUITextFieldDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="UITextFieldDelegate", WrapperType=typeof(UIKit.UITextFieldDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBeginEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldBeginEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingStarted", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidBeginEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldEndEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldEndEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingEnded", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidEndEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingEnded", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(UIKit.UITextFieldDidEndEditingReason) }, Selector="textFieldDidEndEditing:reason:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldClear", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldClear:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldReturn", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldReturn:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldChangeCharacters", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSRange), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="textField:shouldChangeCharactersInRange:replacementString:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeSelection", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidChangeSelection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetEditMenu", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSRange), typeof(UIKit.UIMenuElement[]) }, ReturnType=typeof(UIKit.UIMenu), Selector="textField:editMenuForCharactersInRange:suggestedActions:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldChangeCharacters", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSValue[]), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="textField:shouldChangeCharactersInRanges:replacementString:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetEditMenu", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSValue[]), typeof(UIKit.UIMenuElement[]) }, ReturnType=typeof(UIKit.UIMenu), Selector="textField:editMenuForCharactersInRanges:suggestedActions:")]
public interface IUITextFieldDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UITextFieldDelegate", WrapperType=typeof(UIKit.UITextFieldDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBeginEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldBeginEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingStarted", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidBeginEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldEndEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldEndEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingEnded", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidEndEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingEnded", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(UIKit.UITextFieldDidEndEditingReason) }, Selector="textFieldDidEndEditing:reason:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldClear", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldClear:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldReturn", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldReturn:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldChangeCharacters", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSRange), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="textField:shouldChangeCharactersInRange:replacementString:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeSelection", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidChangeSelection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresentEditMenu", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(UIKit.IUIEditMenuInteractionAnimating) }, Selector="textField:willPresentEditMenuWithAnimator:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillDismissEditMenu", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(UIKit.IUIEditMenuInteractionAnimating) }, Selector="textField:willDismissEditMenuWithAnimator:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetEditMenu", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSRange), typeof(UIKit.UIMenuElement[]) }, ReturnType=typeof(UIKit.UIMenu), Selector="textField:editMenuForCharactersInRange:suggestedActions:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InsertInputSuggestion", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(UIKit.UIInputSuggestion) }, Selector="textField:insertInputSuggestion:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldChangeCharacters", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSValue[]), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="textField:shouldChangeCharactersInRanges:replacementString:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetEditMenu", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSValue[]), typeof(UIKit.UIMenuElement[]) }, ReturnType=typeof(UIKit.UIMenu), Selector="textField:editMenuForCharactersInRanges:suggestedActions:")>]
type IUITextFieldDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="UITextFieldDelegate", WrapperType=typeof(UIKit.UITextFieldDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBeginEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldBeginEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingStarted", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidBeginEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldEndEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldEndEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingEnded", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidEndEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingEnded", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(UIKit.UITextFieldDidEndEditingReason) }, Selector="textFieldDidEndEditing:reason:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldClear", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldClear:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldReturn", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldReturn:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldChangeCharacters", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSRange), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="textField:shouldChangeCharactersInRange:replacementString:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeSelection", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidChangeSelection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresentEditMenu", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(UIKit.IUIEditMenuInteractionAnimating) }, Selector="textField:willPresentEditMenuWithAnimator:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillDismissEditMenu", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(UIKit.IUIEditMenuInteractionAnimating) }, Selector="textField:willDismissEditMenuWithAnimator:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetEditMenu", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSRange), typeof(UIKit.UIMenuElement[]) }, ReturnType=typeof(UIKit.UIMenu), Selector="textField:editMenuForCharactersInRange:suggestedActions:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldChangeCharacters", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSValue[]), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="textField:shouldChangeCharactersInRanges:replacementString:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetEditMenu", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSValue[]), typeof(UIKit.UIMenuElement[]) }, ReturnType=typeof(UIKit.UIMenu), Selector="textField:editMenuForCharactersInRanges:suggestedActions:")>]
type IUITextFieldDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="UITextFieldDelegate", WrapperType=typeof(UIKit.UITextFieldDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBeginEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldBeginEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingStarted", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidBeginEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldEndEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldEndEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingEnded", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidEndEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EditingEnded", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(UIKit.UITextFieldDidEndEditingReason) }, Selector="textFieldDidEndEditing:reason:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldClear", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldClear:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldReturn", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, ReturnType=typeof(System.Boolean), Selector="textFieldShouldReturn:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldChangeCharacters", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSRange), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="textField:shouldChangeCharactersInRange:replacementString:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeSelection", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField) }, Selector="textFieldDidChangeSelection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetEditMenu", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSRange), typeof(UIKit.UIMenuElement[]) }, ReturnType=typeof(UIKit.UIMenu), Selector="textField:editMenuForCharactersInRange:suggestedActions:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldChangeCharacters", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSValue[]), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="textField:shouldChangeCharactersInRanges:replacementString:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetEditMenu", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextField), typeof(Foundation.NSValue[]), typeof(UIKit.UIMenuElement[]) }, ReturnType=typeof(UIKit.UIMenu), Selector="textField:editMenuForCharactersInRanges:suggestedActions:")>]
type IUITextFieldDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
DidChangeSelection(UITextField)
EditingEnded(UITextField, UITextFieldDidEndEditingReason)

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

EditingEnded(UITextField)

Indicates that editing has ended in the specified text field.

EditingStarted(UITextField)

Indicates that editing has begun on the specified text field.

GetEditMenu(UITextField, NSRange, UIMenuElement[])
GetEditMenu(UITextField, NSValue[], UIMenuElement[])
InsertInputSuggestion(UITextField, UIInputSuggestion)
ShouldBeginEditing(UITextField)

Whether editing should begin in the specified text field.

ShouldChangeCharacters(UITextField, NSRange, String)

Whether the specified text should be changed.

ShouldChangeCharacters(UITextField, NSValue[], String)
ShouldClear(UITextField)

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

ShouldEndEditing(UITextField)

Whether editing should stop in the specified text field.

ShouldReturn(UITextField)

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

WillDismissEditMenu(UITextField, IUIEditMenuInteractionAnimating)
WillPresentEditMenu(UITextField, IUIEditMenuInteractionAnimating)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
DidChangeSelection(IUITextFieldDelegate, UITextField)
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.

GetEditMenu(IUITextFieldDelegate, UITextField, NSRange, UIMenuElement[])
GetEditMenu(IUITextFieldDelegate, UITextField, NSValue[], UIMenuElement[])
InsertInputSuggestion(IUITextFieldDelegate, UITextField, UIInputSuggestion)
ShouldBeginEditing(IUITextFieldDelegate, UITextField)

Whether editing should begin in the specified text field.

ShouldChangeCharacters(IUITextFieldDelegate, UITextField, NSRange, String)

Whether the specified text should be changed.

ShouldChangeCharacters(IUITextFieldDelegate, UITextField, NSValue[], String)
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.

WillDismissEditMenu(IUITextFieldDelegate, UITextField, IUIEditMenuInteractionAnimating)
WillPresentEditMenu(IUITextFieldDelegate, UITextField, IUIEditMenuInteractionAnimating)

Applies to