UISearchBarDelegate_Extensions UISearchBarDelegate_Extensions Class

Definition

Extension methods to the IUISearchBarDelegate interface to support all the methods from the UISearchBarDelegate protocol.

public static class UISearchBarDelegate_Extensions
type UISearchBarDelegate_Extensions = class
Inheritance
UISearchBarDelegate_ExtensionsUISearchBarDelegate_Extensions

Remarks

The extension methods for IUISearchBarDelegate allow developers to treat instances of the interface as having all the optional methods of the original UISearchBarDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

BookmarkButtonClicked(IUISearchBarDelegate, UISearchBar) BookmarkButtonClicked(IUISearchBarDelegate, UISearchBar)

Indicates that the bookmark button was tapped.

CancelButtonClicked(IUISearchBarDelegate, UISearchBar) CancelButtonClicked(IUISearchBarDelegate, UISearchBar)

Indicates that the cancel button was tapped.

ListButtonClicked(IUISearchBarDelegate, UISearchBar) ListButtonClicked(IUISearchBarDelegate, UISearchBar)

Indicates that the list button was tapped.

OnEditingStarted(IUISearchBarDelegate, UISearchBar) OnEditingStarted(IUISearchBarDelegate, UISearchBar)

Indicates that the user has begun editing the search text.

OnEditingStopped(IUISearchBarDelegate, UISearchBar) OnEditingStopped(IUISearchBarDelegate, UISearchBar)

Indicates that the user has stopped editing the text field.

SearchButtonClicked(IUISearchBarDelegate, UISearchBar) SearchButtonClicked(IUISearchBarDelegate, UISearchBar)

Indicates that the search button was tapped.

SelectedScopeButtonIndexChanged(IUISearchBarDelegate, UISearchBar, nint) SelectedScopeButtonIndexChanged(IUISearchBarDelegate, UISearchBar, nint)

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

ShouldBeginEditing(IUISearchBarDelegate, UISearchBar) ShouldBeginEditing(IUISearchBarDelegate, UISearchBar)

Whether editing of the search text should be allowed.

ShouldChangeTextInRange(IUISearchBarDelegate, UISearchBar, NSRange, String) ShouldChangeTextInRange(IUISearchBarDelegate, UISearchBar, NSRange, String)

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

ShouldEndEditing(IUISearchBarDelegate, UISearchBar) ShouldEndEditing(IUISearchBarDelegate, UISearchBar)

Whether the editing of the search text should end.

TextChanged(IUISearchBarDelegate, UISearchBar, String) TextChanged(IUISearchBarDelegate, UISearchBar, String)

Indicates that the search text has changed.

Applies to