IUISearchTextFieldDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This interface represents the Objective-C protocol UISearchTextFieldDelegate.
[Foundation.Protocol(Name="UISearchTextFieldDelegate", WrapperType=typeof(UIKit.UISearchTextFieldDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetItemProvider", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchTextField), typeof(UIKit.UISearchToken) }, ReturnType=typeof(Foundation.NSItemProvider), Selector="searchTextField:itemProviderForCopyingToken:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidSelectSuggestion", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchTextField), typeof(UIKit.IUISearchSuggestion) }, Selector="searchTextField:didSelectSuggestion:")]
public interface IUISearchTextFieldDelegate : IDisposable, UIKit.IUITextFieldDelegate
[<Foundation.Protocol(Name="UISearchTextFieldDelegate", WrapperType=typeof(UIKit.UISearchTextFieldDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetItemProvider", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchTextField), typeof(UIKit.UISearchToken) }, ReturnType=typeof(Foundation.NSItemProvider), Selector="searchTextField:itemProviderForCopyingToken:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidSelectSuggestion", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchTextField), typeof(UIKit.IUISearchSuggestion) }, Selector="searchTextField:didSelectSuggestion:")>]
type IUISearchTextFieldDelegate = interface
interface INativeObject
interface IDisposable
interface IUITextFieldDelegate
Derived
Attributes
Implements
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)
(Inherited from IUITextFieldDelegate )
DidSelectSuggestion(UISearchTextField, IUISearchSuggestion)
EditingEnded(UITextField, UITextFieldDidEndEditingReason)
Indicates that editing has ended in the specified text field for the specified reason.
(Inherited from IUITextFieldDelegate )
EditingEnded(UITextField)
Indicates that editing has ended in the specified text field.
(Inherited from IUITextFieldDelegate )
EditingStarted(UITextField)
Indicates that editing has begun on the specified text field.
(Inherited from IUITextFieldDelegate )
GetEditMenu(UITextField, NSRange, UIMenuElement[])
(Inherited from IUITextFieldDelegate )
GetEditMenu(UITextField, NSValue[], UIMenuElement[])
(Inherited from IUITextFieldDelegate )
GetItemProvider(UISearchTextField, UISearchToken)
InsertInputSuggestion(UITextField, UIInputSuggestion)
(Inherited from IUITextFieldDelegate )
ShouldBeginEditing(UITextField)
Whether editing should begin in the specified text field.
(Inherited from IUITextFieldDelegate )
ShouldChangeCharacters(UITextField, NSRange, String)
Whether the specified text should be changed.
(Inherited from IUITextFieldDelegate )
ShouldChangeCharacters(UITextField, NSValue[], String)
(Inherited from IUITextFieldDelegate )
ShouldClear(UITextField)
Whether the specified text field's current contents should be removed.
(Inherited from IUITextFieldDelegate )
ShouldEndEditing(UITextField)
Whether editing should stop in the specified text field.
(Inherited from IUITextFieldDelegate )
ShouldReturn(UITextField)
Whether the text field should process the pressing of the return button.
(Inherited from IUITextFieldDelegate )
WillDismissEditMenu(UITextField, IUIEditMenuInteractionAnimating)
(Inherited from IUITextFieldDelegate )
WillPresentEditMenu(UITextField, IUIEditMenuInteractionAnimating)
(Inherited from IUITextFieldDelegate )
Extension Methods
Name
Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
DidSelectSuggestion(IUISearchTextFieldDelegate, UISearchTextField, IUISearchSuggestion)
GetItemProvider(IUISearchTextFieldDelegate, UISearchTextField, UISearchToken)
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)