Share via


IUITextInputDelegate Interface

Definition

A delegate representing input events in a UITextField or UITextView.

[Foundation.Protocol(Name="UITextInputDelegate", WrapperType=typeof(UIKit.UITextInputDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SelectionWillChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextInput) }, Selector="selectionWillChange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SelectionDidChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextInput) }, Selector="selectionDidChange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="TextWillChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextInput) }, Selector="textWillChange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="TextDidChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextInput) }, Selector="textDidChange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ConversationContextDidChange", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIConversationContext), typeof(UIKit.IUITextInput) }, Selector="conversationContext:didChange:")]
public interface IUITextInputDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="UITextInputDelegate", WrapperType=typeof(UIKit.UITextInputDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SelectionWillChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextInput) }, Selector="selectionWillChange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SelectionDidChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextInput) }, Selector="selectionDidChange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="TextWillChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextInput) }, Selector="textWillChange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="TextDidChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextInput) }, Selector="textDidChange:")]
public interface IUITextInputDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UITextInputDelegate", WrapperType=typeof(UIKit.UITextInputDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SelectionWillChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextInput) }, Selector="selectionWillChange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SelectionDidChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextInput) }, Selector="selectionDidChange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="TextWillChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextInput) }, Selector="textWillChange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="TextDidChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextInput) }, Selector="textDidChange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ConversationContextDidChange", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIConversationContext), typeof(UIKit.IUITextInput) }, Selector="conversationContext:didChange:")>]
type IUITextInputDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="UITextInputDelegate", WrapperType=typeof(UIKit.UITextInputDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SelectionWillChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextInput) }, Selector="selectionWillChange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SelectionDidChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextInput) }, Selector="selectionDidChange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="TextWillChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextInput) }, Selector="textWillChange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="TextDidChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextInput) }, Selector="textDidChange:")>]
type IUITextInputDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
ConversationContextDidChange(UIConversationContext, IUITextInput)
SelectionDidChange(IUITextInput)

The selection in uiTextInput changed.

SelectionWillChange(IUITextInput)

The selection in uiTextInput is about to change.

TextDidChange(IUITextInput)

The text in textInput changed.

TextWillChange(IUITextInput)

The text in textInput is about to change.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to

See also