iOS Guides | Samples

MonoTouch.UIKit.UISearchBarDelegate Class

A class used to receive notifications from a UISearchBar.

See Also: UISearchBarDelegate


[MonoTouch.Foundation.Register("UISearchBarDelegate", false)]
public class UISearchBarDelegate : UIBarPositioningDelegate, IUISearchBarDelegate, IDisposable

Related content


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

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

See Also: UIBarPositioningDelegate

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Methods

Indicates that the bookmark button was clicked.
Indicates that the cancel button was clicked.
GetPositionForBar(IUIBarPositioning) : UIBarPosition
The position of the specified UIBarPositioning.
Indicates that the search results list button was clicked.
Indicates that the app user has begin editing the search text.
Indicates that the user has finished editing the search text.
Indicates that the search button was clicked.
SelectedScopeButtonIndexChanged(UISearchBar, Int32)
Indicates that the scope button selection has changed.
ShouldBeginEditing(UISearchBar) : Boolean
Whether editing should begin in the specified search bar.
ShouldChangeTextInRange(UISearchBar, NSRange, String) : Boolean
Whether text in a specified range should be replaced with the given text.
ShouldEndEditing(UISearchBar) : Boolean
Whether editing should stop in the specified search bar.
TextChanged(UISearchBar, String)
Indicates that the user changed the search text.