iOS Guides | Samples

MonoTouch.UIKit.UISearchBarDelegate_Extensions Class

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

See Also: UISearchBarDelegate_Extensions

Syntax

public static class UISearchBarDelegate_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.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UISearchBarDelegate_Extensions are listed below.

See Also: Object

Public Methods

static
BookmarkButtonClicked(this IUISearchBarDelegate, UISearchBar)
Indicates that the bookmark button was tapped.
static
CancelButtonClicked(this IUISearchBarDelegate, UISearchBar)
Indicates that the cancel button was tapped.
static
ListButtonClicked(this IUISearchBarDelegate, UISearchBar)
Indicates that the list button was tapped.
static
OnEditingStarted(this IUISearchBarDelegate, UISearchBar)
Indicates that the user has begun editing the search text.
static
OnEditingStopped(this IUISearchBarDelegate, UISearchBar)
Indicates that the user has stopped editing the text field.
static
SearchButtonClicked(this IUISearchBarDelegate, UISearchBar)
Indicates that the search button was tapped.
static
SelectedScopeButtonIndexChanged(this IUISearchBarDelegate, UISearchBar, Int32)
Indicates that the user has changed the scope of the search.
static
ShouldBeginEditing(this IUISearchBarDelegate, UISearchBar) : Boolean
Whether editing of the search text should be allowed.
static
ShouldChangeTextInRange(this IUISearchBarDelegate, UISearchBar, NSRange, String) : Boolean
Whether the text in the specified range should be replaced with the specified text.
static
ShouldEndEditing(this IUISearchBarDelegate, UISearchBar) : Boolean
Whether the editing of the search text should end.
static
TextChanged(this IUISearchBarDelegate, UISearchBar, String)
Indicates that the search text has changed.