Editar

Compartir a través de


IUISearchBarDelegate Interface

Definition

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

[Foundation.Protocol(Name="UISearchBarDelegate", WrapperType=typeof(UIKit.UISearchBarDelegateWrapper))]
public interface IUISearchBarDelegate : IDisposable, UIKit.IUIBarPositioningDelegate
type IUISearchBarDelegate = interface
    interface INativeObject
    interface IDisposable
    interface IUIBarPositioningDelegate
Derived
Attributes
Implements

Remarks

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

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 UISearchBarDelegate protocol.

Optional methods (if any) are provided by the UISearchBarDelegate_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

GetPositionForBar(IUIBarPositioningDelegate, IUIBarPositioning)

Returns the position for barPositioning after it has been added to the user interface.

BookmarkButtonClicked(IUISearchBarDelegate, UISearchBar)

Indicates that the bookmark button was tapped.

CancelButtonClicked(IUISearchBarDelegate, UISearchBar)

Indicates that the cancel button was tapped.

ListButtonClicked(IUISearchBarDelegate, UISearchBar)

Indicates that the list button was tapped.

OnEditingStarted(IUISearchBarDelegate, UISearchBar)

Indicates that the user has begun editing the search text.

OnEditingStopped(IUISearchBarDelegate, UISearchBar)

Indicates that the user has stopped editing the text field.

SearchButtonClicked(IUISearchBarDelegate, UISearchBar)

Indicates that the search button was tapped.

SelectedScopeButtonIndexChanged(IUISearchBarDelegate, UISearchBar, nint)

Indicates that the user has changed the scope of the search.

ShouldBeginEditing(IUISearchBarDelegate, UISearchBar)

Whether editing of the search text should be allowed.

ShouldChangeTextInRange(IUISearchBarDelegate, UISearchBar, NSRange, String)

Whether the text in the specified range should be replaced with the specified text.

ShouldEndEditing(IUISearchBarDelegate, UISearchBar)

Whether the editing of the search text should end.

TextChanged(IUISearchBarDelegate, UISearchBar, String)

Indicates that the search text has changed.

Applies to